This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Fix permissions of DEF_CLASS_OBJ ACL entry
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 8 Dec 2010 11:24:48 +0100
- Subject: Re: [PATCH] Fix permissions of DEF_CLASS_OBJ ACL entry
- References: <4CFE9EE6.8010902@t-online.de>
- Reply-to: cygwin-patches at cygwin dot com
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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat