[PATCH] Fix permissions of DEF_CLASS_OBJ ACL entry

Christian Franke Christian.Franke@t-online.de
Wed Dec 8 10:25:00 GMT 2010

Cygwin returns permissions 0777 in the DEF_CLASS_OBJ ("default:mask:") 
ACL entry. This patch changes this to 07. The upper bits 0770 probably 
do not make any sense here.

The value 0777 is one reason why rsync may set bogus permissions.
(The other reason is that rsync always expects a DEF_OTHER_OBJ entry. 
This is likely a rsync bug which should be fixed upstream)
See http://cygwin.com/ml/cygwin/2010-11/msg00429.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sec_acl-def_class-perm.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20101208/fdbc0d89/attachment.bin>

More information about the Cygwin-patches mailing list