delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/21/12:25:20

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=kI7BAO7i7IOXxO7RgrzPcgFai+RneP+aQyVItLOkGKH4LYHn99pRh
liWypt6bujjZ0SFtqMYPMX5D+CDyNKsEe8Ht2t2QECXzWbNjOsLpxvF857urWLlp
q33ARUYwPrTJ7zOFe7h+zsCLxRiK4OAxxizva9U/8mtFdXX2eQeEnY=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=sbfDl8VX5691o4vXRQqSzy4ngn8=; b=MZqgL1t309sxt6OkaK7v6hdd8ZgC
LzhG8az1bONjdpPWXcpRtksVkqFN+k9OsKL9JubVzSn5k4Sl+Gu7czXLWpnwy2Vj
3wAWkYlIJSPnnkyvkUu6ys5pT8/vsk8gNBhIo7i+eQ4ZC9Z+G9zybHfI5NzRSUz3
9hDvfN4inFanCQY=
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=-101.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=planned, HX-HELO:sk:calimer, H*r:188.192.47, Hx-spam-relays-external:sk:ipbcc02
X-HELO: calimero.vinschen.de
Date: Mon, 21 Dec 2015 18:25:03 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: setfacl(2.4.0.15): for next year !!!!!
Message-ID: <20151221172503.GK4034@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6ea00be43c852b42e0e59adcb23d0004 AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <6ea00be43c852b42e0e59adcb23d0004@xs4all.nl>
User-Agent: Mutt/1.5.24 (2015-08-30)

--fckbADODYWZD5TdN
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 21 17:30, Houder wrote:
> Hi Corinna,
>=20
> For next year !!!!! (posted as a reminder) ... See below.

Next year?  Nope... see below.

> Regards,
> Henri
>=20
> 64-%% uname -a
> CYGWIN_NT-6.1 Seven 2.4.0(0.292/5/3) 2015-12-21 13:10 x86_64 Cygwin
>=20
> 64-%% touch bar.txt
> 64-%% getfacl bar.txt
> # file: bar.txt
> # owner: Henri
> # group: None
> user::rw-
> group::r--
> other:r--
>=20
> 64-%% setfacl -m g:None:rw- -x g:None: bar.txt # add and delete ...
> 64-%% getfacl bar.txt
> # file: bar.txt
> # owner: Henri
> # group: None
> user::rw-
> group::r--
> group:None:rwx <=3D=3D=3D=3D surprise! (this one, I did not even specify!)
> mask:rwx
> other:r--

Heh.  I added a mode to allow modify and delete in a single command but
didn't actually handle it in the code.  I'm sure I tested it at one
point... or... at least... planned to test it... uhm...

> in stead of the last 'setfacl' command above:
>=20
> 64-%% setfacl -x g:None: bar.txt
> 64-%% getfacl bar.txt
> # file: bar.txt
> # owner: Henri
> # group: None
> user::rw-
> group::r--
> mask:r-- <=3D=3D=3D=3D uhm, superfluous ...

But the same behaviour as with Linux setfacl.  You did *not* request to
delete the mask, after all.

Just uploaded a 0.16 test release to fix the -m/-x...


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--fckbADODYWZD5TdN
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWeDXvAAoJEPU2Bp2uRE+gKuwQAJ+VaT9xuumza5Tje+AoPqOV
xqMEjeX1BozbEwIfkE0YuROu2nuzGxhCnFr/S6bqpTDPNFIGOuiRNuoobU/jJ+uY
iSkMSZ+ltPSD+HwrW5+DXgebo8CWBatLhIW4Zi03XdhoYy1mrcRptOI7+9+N+qtw
ftQrIw5sWQhdfFoGmTNN4wbEkYVLprfd+e1AoEl16jFYNPaHxpf4N+xZJ5++EZg0
4fXpUvK0rvbXQT7JWNKYW4U/olws24T0G9oQWCQ4g41tpiH8o9WbOMoHzC2AP3t1
mXmI3mH90G/NfSXp6aH1UHVF/jyZvU8Fdoxy+eYUNRSH9ZYR0JahHi2uhTGQsi15
F9T0sbvKNqGWAb7XHtztsNaPF/4+N9qk4hqy3hayPKuIVMrxROn7DwcjnCe0pMjA
+92Q7eJS13J3LSLTOhv79rR+5JPIsG4yyU4/iQzQfZHrUqFqmXHrLStxXktE+Iph
OX99uXUabVIBD6l7VXicSmSllxci+n8t8/jfMN7pr09JYPyRC8SU5s1juDLjkdw2
1Z2efApNMAXccus72EFHXKC5zdLXqNcTO2la9r7tcf97JdDh3OfY7XsWxKhgIvHl
yB2i/ItE6FKZzXESfzckGWdvkPAg+u8H021H/YPMLdobcFNjbCJViFUyM76B8k3s
JQR5SLf2ZQLe40IAF35j
=rZyK
-----END PGP SIGNATURE-----

--fckbADODYWZD5TdN--

- Raw text -


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