delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/12/18:19:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:in-reply-to:references:date:subject
:from:to:mime-version:content-type:content-transfer-encoding; q=
dns; s=default; b=MliQeFvEwUm2zBe+KW5VRpOrbS5m5i2zdLm+8DtEZ231Gp
FOmfL/bMWnQ31xdFBlsYIwljUYd4H3IjRfnHCSflFLRlums/NARruw4BPA9ZWlgE
+dmx8mbxmbg9tmoZJ/cRd/jk6+WrcyJmyX0aWSBwpL0bYlGze+L0+Pu0CSbs8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:in-reply-to:references:date:subject
:from:to:mime-version:content-type:content-transfer-encoding; s=
default; bh=/u0TUH310E5kjpNWYUzuHNtmaxo=; b=K8ZdhEoS0xcOBgX3/Cy0
AIFStfUf6lXemZXhPF4BQ3fMJ8ewxx7AGSyKMDRMuhke+q/V9OOSLZjdqT2zZGro
XkmKQP9Z7Q4YwYdJKA7X7N/125CC3QYqCvvVTyTJTYRV4+POt+w7P+ANOhVb9rmp
OwETl34z5DMaIgz1XoKngkw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: lb1-smtp-cloud6.xs4all.net
Message-ID: <7a1690af2bba11f2dc7156939c8ec7fb.squirrel@webmail.xs4all.nl>
In-Reply-To: <20150212180041.GC7818@calimero.vinschen.de>
References: <f693c1a646e96a35da21600dbb5983e0 DOT squirrel AT webmail DOT xs4all DOT nl> <20150212180041 DOT GC7818 AT calimero DOT vinschen DOT de>
Date: Fri, 13 Feb 2015 00:19:39 +0100
Subject: Re: setfacl -s acl_entries file file ... now fails
From: "Houder" <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.18
MIME-Version: 1.0
X-IsSubscribed: yes

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019