Comment out the parent inheritance code (this is incorrect) as was
authorJeremy Allison <jra@samba.org>
Thu, 18 Dec 2008 23:38:28 +0000 (15:38 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 18 Dec 2008 23:38:28 +0000 (15:38 -0800)
done for POSIX ACLs.
Jeremy.

source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c

index 915f73233d4ec9f7dc49fc812e21847f203a2b63..9cb887ae5184020997f9f30bbaba099b91d0bb7b 100644 (file)
@@ -740,6 +740,7 @@ static NTSTATUS fset_nt_acl_tdb(vfs_handle_struct *handle, files_struct *fsp,
                psd = nc_psd;
        }
 
+#if 0
        if ((security_info_sent & DACL_SECURITY_INFORMATION) &&
                        psd->dacl != NULL &&
                        (psd->type & (SE_DESC_DACL_AUTO_INHERITED|
@@ -755,6 +756,7 @@ static NTSTATUS fset_nt_acl_tdb(vfs_handle_struct *handle, files_struct *fsp,
                }
                psd = new_psd;
        }
+#endif
 
        if (DEBUGLEVEL >= 10) {
                DEBUG(10,("fset_nt_acl_tdb: storing tdb sd for file %s\n",
index 2edb4417410dddf8ea24cb512ce4d19926190bc5..3c8f241ad962dc146d8303ec463112a977eb588c 100644 (file)
@@ -579,6 +579,7 @@ static NTSTATUS fset_nt_acl_xattr(vfs_handle_struct *handle, files_struct *fsp,
                psd = nc_psd;
        }
 
+#if 0
        if ((security_info_sent & DACL_SECURITY_INFORMATION) &&
                        psd->dacl != NULL &&
                        (psd->type & (SE_DESC_DACL_AUTO_INHERITED|
@@ -594,6 +595,7 @@ static NTSTATUS fset_nt_acl_xattr(vfs_handle_struct *handle, files_struct *fsp,
                }
                psd = new_psd;
        }
+#endif
 
        if (DEBUGLEVEL >= 10) {
                DEBUG(10,("fset_nt_acl_xattr: storing xattr sd for file %s\n",