[PATCH] Fix permissions of DEF_CLASS_OBJ ACL entry

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Dec 10 22:05:00 GMT 2010

On Dec  7 21:53, Christian Franke wrote:
> 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
> Christian

> 2010-12-07  Christian Franke
> 	* sec_acl.cc (getacl): Set DEF_CLASS_OBJ permissions
> 	to 07 instead of 0777.

Thanks for catching this.  Applied.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-patches mailing list