This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setfacl -s acl_entries file file ... now fails


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

Attachment: pgpcVnW2lp6AP.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]