setfacl(2.4.0.14): recalculation of the ACL mask entry
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Dec 21 15:04:00 GMT 2015
On Dec 21 14:11, Houder wrote:
> On 2015-12-21 13:46, Corinna Vinschen wrote:
> >On Dec 20 18:52, Houder wrote:
> >>Hi Corinna,
> >>
> >>According to acl(5), the mask entry (as reported by getacl) is
> >>"optional" if
> >>the
> >>acl contains no 'u:uid:perm' and/or 'g:gid:perm' entries (ace's) ...
> >>Ahem.
> >>[...]
> >>However, setfacl(1) and your setfacl also note, that the default
> >>behaviour
> >>of
> >>setfacl is to recalculate the mask entry ...
> >>[...]
> >>I decided to experiment ... See below. (the mask entry is not
> >>recalculated,
> >>it
> >>appears).
> >
> >It is, but only in a limit number of scenarios. I completely forgot
> >about recalculating when deleteing ACEs, in fact. I checked this
> >against setfacl on Linux again, appied a patch and uploaded a new test
> >release 2.4.0-0.15. The mask recalculation behaviour should now be
> >as close as possible to Linux, I hope. I also renamed the --substitute
> >option to --set, as with Linux setfacl.
> >
> >Please give it a try. Just, if it's still wrong, I guess a patch has
> >to wait until after the holidays.
>
> Euh ... no problem here. Go, have a holiday!
Thanks :)
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20151221/cb7efdce/attachment.sig>
More information about the Cygwin
mailing list