delorie.com/archives/browse.cgi | search |
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=IMUZjOiCcROWvNxZV+Uxl3CNmkxz5vtGChSiewCB3MNqixeqoR799 | |
kpzywpXhJ40WZXYlZ6edJbgrvTS7o9eO4K97AkJzcYiAdgmBxagKDiTIUyhR5Dqu | |
k5FM5iu0u4BvO7BPdWT789ifviXqC0S0b28Bwbv3cFk65nN9j+cvkw= | |
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=sypmkVCwLclEp7e4FYC3hKfipEM=; b=Y1BfmxZ4IcEBpL0DwHdqP4cSBqRB | |
Gg31M3qvOZ8ycVyyU9y5Vo10Q++hqAyVl6x1UIjWei/gIzWE7K26pILAcUWzZ8+v | |
RqA6OJEPDaA8xX4QamkhvtELKwfkcDaRO/x97eZ3kPLw0LXNjfyl0v2FX9gM1ezW | |
QrX++Os67jsiDmE= | |
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=H*r:188.192.47, Hx-spam-relays-external:sk:ipbcc02, H*r:sk:ipbcc02, HX-HELO:sk:calimer |
X-HELO: | calimero.vinschen.de |
Date: | Mon, 21 Dec 2015 13:46:45 +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: | <20151221124645.GE4034@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4e359179a04344745b43991e66398a6e AT xs4all DOT nl> |
MIME-Version: | 1.0 |
In-Reply-To: | <4e359179a04344745b43991e66398a6e@xs4all.nl> |
User-Agent: | Mutt/1.5.24 (2015-08-30) |
--vmttodhTwj0NAgWp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 20 18:52, Houder wrote: > Hi Corinna, >=20 > 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 recalculate= d, > 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. Thanks a lot for testing this so extensively, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --vmttodhTwj0NAgWp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWd/S0AAoJEPU2Bp2uRE+ghTMP/j+sNMTPO5MOn+J7jND8WhMY tbirRDsvXhTOUIxMZ7AEmA5gz9vOdUorvk4b1HaasKsITui0Qq6SZ3kqUHyzGazs FgShybwoUAWNcWkNe+LB/FbT6w0YJyv5e2g99TQFNU1w5oLDud03XfM/hbNbwDmx Y5TFjvYMPodAyvz4urpJUMM4gtqCVdwwrwa2TSMkB18UTjG8YPApc3/df1SbOkVx t1s34vsWYPGfI53CoOjiuly7V8XK0IbTp7CV99Oy6U62DeE+acWUrcNk/OmtrHGL a9zoFr1W/C1lvwCbgXSwkFhXcFPV07s8KhZqVx/rSzPCR17Y2F2B6vZTf4SWjrfT 1FTe2MJpKGpzc1NV1zcFvOawWwHkpp8LjGP94OesQ7Dnftcy+3avR2aaESaKWPVV F5jKK/RuLeQU6IuvpL0KV4pTe2KX8NUkwwtUAFONM1tt5L6nadxkkqpB89mncmX7 ks2ON8utTWRnKhnOVg2QPfmrokWIX69gNbCnd+2SjOiDVmVaPaWWko6F45Tzeeu0 +PFPaJpNgsBnahaIz6ruqq412gffKJ0+ZsYoLBnbCP0pGpG1zKjoeM5RHdx7pvC6 Va5K387A+VcFqPAM0YCcr1yH6Pk7Sn6atCC8aOeoH7Cf6uLm1mWDbQDxJeMZGnJF lWkVD1kh0lVDATSoExEX =huxl -----END PGP SIGNATURE----- --vmttodhTwj0NAgWp--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |