setfacl -s acl_entries file file ... now fails

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Feb 13 09:23:00 GMT 2015


On Feb 13 00:19, Houder wrote:
> > On Feb 12 16:06, Houder wrote:
> >> Hi Corinna,
> >>
> >> Regression? setfacl -s used to accept multiple file arguments ... (yes, I am sure)
> >>
> >> @@ touch aap noot mies
> >> @@ ls -l aap noot mies
> >> -rw-r--r-- 1 Henri None 0 Feb 12 15:55 aap
> >> -rw-r--r-- 1 Henri None 0 Feb 12 15:55 mies
> >> -rw-r--r-- 1 Henri None 0 Feb 12 15:55 noot
> >> @@ setfacl -s u::rwx,g::r-x,o:r-x aap noot mies
> >> setfacl: Invalid argument
> >> setfacl: Invalid argument
> >
> > Yes, regression.  When revamping the acl(SETACL, ...) call I used
> > the a_type value in the incoming aclent_t entry for bookkeeping,
> > thus invalidating it for further reuse.  I fixed that in CVS and
> > uploaded a new snapshot on https://cygwin.com/snapshots/
> >
> > Please give it a try.
> 
> I did. Substituted cygwin1.dll for the one from the snapshot (0212).
> 
> Did some limited testing (as usual ;-).
> 
> As far far I can tell, is is now possible to specify multiple file
> arguments again ...
> 
> As I was curious, I also did a test in which I specified multiple
> directory arguments. Appeared to work as well. Splendid.

Cool, thanks for testing!


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: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150213/25776f3c/attachment.sig>


More information about the Cygwin mailing list