This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setfacl -s acl_entries file file ... now fails
- From: "Houder" <houder at xs4all dot nl>
- To: cygwin at cygwin dot com
- Date: Fri, 13 Feb 2015 00:19:39 +0100
- Subject: Re: setfacl -s acl_entries file file ... now fails
- Authentication-results: sourceware.org; auth=none
- References: <f693c1a646e96a35da21600dbb5983e0 dot squirrel at webmail dot xs4all dot nl> <20150212180041 dot GC7818 at calimero dot vinschen dot de>
> 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.
Thank you.
Henri
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple