The Samba-Bugzilla – Attachment 3554 Details for
Bug 5052
not work cancel inheritance on share
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.2.x
look (text/plain), 753 bytes, created by
Jeremy Allison
on 2008-09-10 17:36:07 UTC
(
hide
)
Description:
Patch for 3.2.x
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-09-10 17:36:07 UTC
Size:
753 bytes
patch
obsolete
>diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c >index 86934f9..d798fa8 100644 >--- a/source/smbd/posix_acls.c >+++ b/source/smbd/posix_acls.c >@@ -3400,10 +3400,17 @@ static NTSTATUS append_parent_acl(files_struct *fsp, > parent_name)); > } > >- parent_sd->dacl->aces = new_ace; >- parent_sd->dacl->num_aces = i; >+ /* This sucks. psd should be const and we should >+ * be doing a deep-copy here. We're getting away >+ * with is as we know parent_sd is talloced off >+ * talloc_tos() as well as psd. JRA. */ > >- *pp_new_sd = parent_sd; >+ psd->dacl->aces = new_ace; >+ psd->dacl->num_aces = i; >+ psd->type &= ~(SE_DESC_DACL_AUTO_INHERITED| >+ SE_DESC_DACL_AUTO_INHERIT_REQ); >+ >+ *pp_new_sd = psd; > return status; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5052
: 3554