The Samba-Bugzilla – Attachment 6247 Details for
Bug 7956
Don't error when attempting to delete a non-existent default ACL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix deleting non-existent default ACL
delete-default-acl.patch (text/plain), 360 bytes, created by
Chris Dunlop
on 2011-02-14 20:23:47 UTC
(
hide
)
Description:
Patch to fix deleting non-existent default ACL
Filename:
MIME Type:
Creator:
Chris Dunlop
Created:
2011-02-14 20:23:47 UTC
Size:
360 bytes
patch
obsolete
>diff --git a/acls.c b/acls.c >--- a/acls.c >+++ b/acls.c >@@ -950,7 +950,7 @@ static int set_rsync_acl(const char *fname, acl_duo *duo_item, > else > #endif > rc = sys_acl_delete_def_file(fname); >- if (rc < 0) { >+ if (rc < 0 && errno != ENODATA) { > rsyserr(FERROR_XFER, errno, "set_acl: sys_acl_delete_def_file(%s)", > fname); > return -1; >-- >1.7.1 >
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 7956
: 6247