The Samba-Bugzilla – Attachment 2987 Details for
Bug 5094
User, group and everyone always get read permission when editing ACLs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that comments out the code that seems to cause the problem
samba-3.0.27-parentacl.patch (text/plain), 749 bytes, created by
Roel van Meer
on 2007-11-20 10:04:20 UTC
(
hide
)
Description:
Patch that comments out the code that seems to cause the problem
Filename:
MIME Type:
Creator:
Roel van Meer
Created:
2007-11-20 10:04:20 UTC
Size:
749 bytes
patch
obsolete
>diff -ruN source.orig/smbd/posix_acls.c source/smbd/posix_acls.c >--- source.orig/smbd/posix_acls.c 2007-11-15 04:15:04.000000000 +0100 >+++ source/smbd/posix_acls.c 2007-11-20 16:39:11.000000000 +0100 >@@ -3243,6 +3243,9 @@ > * Append u/g/w. > */ > >+ /* We do not append these parent permissions, because they always cause >+ * user, group and world to have read access. >+ * It might be incorrect or inappropriate to not add these, however. > status = append_ugw_ace(fsp, psbuf, unx_mode, S_IRUSR, &new_ace[i++]); > if (!NT_STATUS_IS_OK(status)) { > return status; >@@ -3255,6 +3258,7 @@ > if (!NT_STATUS_IS_OK(status)) { > return status; > } >+ */ > > /* Finally append any inherited ACEs. */ > for (j = 0; j < parent_sd->dacl->num_aces; j++) {
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 5094
: 2987