delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/21/10:04:44

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=rfSHcalSe8i6iBNG0D5/+r00ZFHnQ+piDX325R3c9cGoa52Ys+yRg
GZb/okRJgW3MBPjJLVP4oHCDomiuL/FvFkrY6N3fyR7WwZua7DtHIji0Cyn9p4pp
crCBE02jb0I+DbW0/KPh9L1KUCyiWcFQ5p6xnuE4jBc3EpWV63zi4I=
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=MGt7fwfH+AwwnyAtPtzxiJumVFc=; b=eruMdhlfNvTtGm0qGW3bzqtlep1U
y0Q6yk9g/XOIAo4tGgolNdJNDCvSnOw1tQWQ4Uz1BzFzaWparc2dkf1RJV3GZfG0
apzJR0Vlm7gEJtfVP4kCEnZmJf2ApvJNvA7zjLhhQXZg+d6yGsY0WbR454gjq6d2
QhrkOf9qobobKbs=
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=HX-HELO:sk:calimer, H*r:188.192.47, Hx-spam-relays-external:sk:ipbcc02, Hx-spam-relays-external:188.192.47.232
X-HELO: calimero.vinschen.de
Date: Mon, 21 Dec 2015 16:04:05 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: setfacl(2.4.0.14): recalculation of the ACL mask entry
Message-ID: <20151221150405.GI4034@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4e359179a04344745b43991e66398a6e AT xs4all DOT nl> <20151221124645 DOT GE4034 AT calimero DOT vinschen DOT de> <ffff3f0e0637e84689521a4a046dec69 AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <ffff3f0e0637e84689521a4a046dec69@xs4all.nl>
User-Agent: Mutt/1.5.24 (2015-08-30)

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

On Dec 21 14:11, Houder wrote:
> On 2015-12-21 13:46, Corinna Vinschen wrote:
> >On Dec 20 18:52, Houder wrote:
> >>Hi Corinna,
> >>
> >>According to acl(5), the mask entry (as reported by getacl) is
> >>"optional" if
> >>the
> >>acl contains no 'u:uid:perm' and/or 'g:gid:perm' entries (ace's) ...
> >>Ahem.
> >>[...]
> >>However, setfacl(1) and your setfacl also note, that the default
> >>behaviour
> >>of
> >>setfacl is to recalculate the mask entry ...
> >>[...]
> >>I decided to experiment ... See below. (the mask entry is not
> >>recalculated,
> >>it
> >>appears).
> >
> >It is, but only in a limit number of scenarios.  I completely forgot
> >about recalculating when deleteing ACEs, in fact.  I checked this
> >against setfacl on Linux again, appied a patch and uploaded a new test
> >release 2.4.0-0.15.  The mask recalculation behaviour should now be
> >as close as possible to Linux, I hope.  I also renamed the --substitute
> >option to --set, as with Linux setfacl.
> >
> >Please give it a try.  Just, if it's still wrong, I guess a patch has
> >to wait until after the holidays.
>=20
> Euh ... no problem here. Go, have a holiday!

Thanks :)


Corinna

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

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

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

iQIcBAEBCAAGBQJWeBTlAAoJEPU2Bp2uRE+gv90P/iEf5kcZsOeG//6EQk6ntSFl
F4j5/x+WDZip+EGt7fOBPo7vRrqN/7uBthRN2GMWDbNqPwt+k9sVYoP9rAyaonoa
LDeyI65f+YrzKmTsTahheCI/27vuBNe0zE8mQ/0gF+ALY6arJ4n+i2vQBPoTKR+t
W0Sdv6RCDdu7/8ZBaQ+8NWWdBHD3yEuCsYi3AW6KhrfCOhCKtnwUtTqY6h8MxvV3
aPD+M6a1lkPXrrRFAiAZn9Qt+zu4N+EId2sdJZClhwebNXLhL7wnsh36S/ImHuSw
Ag7G6WeJ3kU02uzNM0y+e0CZaOAZQ1Kxm0B6TwCxxqfSu68XDRtWvXzMYaW/tysg
1ilUrxgxt5p1UsNdTR3R78Tq7jyrgBSieM9+Ny/3anC8383z3i/q1BboWhQrcvtv
eAVDH/FDhmzW77NyUYgNR9JtjmyxjGo0ZB5IFOCMTTFACRGXQQbtYrW1/5cRYo2K
0PTBJLpMUtFLBT0Z0Bu5UCnZ32K5iZpK08pu6R9PmhheJUY3pSTkyDjCOISZAbh+
27AWbFjj+TunusTIiLG/Uz8Z+95hbeIgK0tswXgJWQcH81fbT18MZGH9xcio50yl
+/8rSiVf8cvHJkwAZvl9eSjloERNiUq/UjOI/aOe7SYZ806Ef3Xb8K4Ovf68DgxO
xkqGsXMIamtqFcqH1JB9
=+Qxv
-----END PGP SIGNATURE-----

--VkqCAaSJIySsbD6j--

- Raw text -


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