From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11516 invoked by alias); 11 Apr 2015 14:31:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11507 invoked by uid 89); 11 Apr 2015 14:31:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 11 Apr 2015 14:31:31 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 61444A80A4C; Sat, 11 Apr 2015 16:31:25 +0200 (CEST) Date: Sat, 11 Apr 2015 14:31:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [TESTERS needed] New POSIX permission handling Message-ID: <20150411143125.GI7343@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150410100703.GA4401@calimero.vinschen.de> <87lhhzcarc.fsf@Rainer.invalid> <5528E2ED.7090105@gmail.com> <20150411095958.GD19111@calimero.vinschen.de> <5529151E.8000704@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="twz1s1Hj1O0rHoT0" Content-Disposition: inline In-Reply-To: <5529151E.8000704@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00208.txt.bz2 --twz1s1Hj1O0rHoT0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1768 On Apr 11 14:35, David Macek wrote: > On 11. 4. 2015 11:59, Corinna Vinschen wrote: > >> Out of curiosity, does the code somehow distinguish ACLs that don't > >> have these default permissions (or have different permissions set for > >> SYSTEM / Administrators)? > >=20 > > I don't quite understand the question. > >=20 > > For a start, I'd like to point out how POSIX ACLs are supposed to work. > > http://linux.die.net/man/5/acl is a good start. This is our role model. >=20 > I'm gonna read that. >=20 > > The new code will compute the mask the same way as before, but it > > skips the permissions of SYSTEM and Administrators while doing that. > > That means, the POSIX group permission bits are not affected by > > the Windows-typical permissions of SYSTEM and Administrators. > >=20 > > Example: > >=20 > > User rw- > > Primary group r-- > > Other user rw- > > Other group r-- > > SYSTEM rwx > > Everyone --- > >=20 > > The computed POSIX MASK/CLASS_OBJ value in Cygwin 1.7.35 is the sum > > of all group and secondary user permissions > >=20 > > rw- | r-- | rwx =3D=3D rwx > >=20 > > The new code ignores SYSTEM, thus the mask is > >=20 > > rw- | r-- =3D=3D rw- > >=20=20=20=20=20=20 > > Does this explain it sufficiently? >=20 > Yes, thank you. My question was about the case where SYSTEM or > Administrator doesn't have the typical permissions. From this > explanation, I assume that I won't be able to see any difference in > the mask in that case, but it doesn't seem to be a bad thing. I'm seriously hoping so. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --twz1s1Hj1O0rHoT0 Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVKTA9AAoJEPU2Bp2uRE+gNGYQAKNqlH/aCXsoqcQxAmqttnPP 53DfZ9TjU1U8V5EUaC6PWQ3r5MPa8ChjuqS63iS01OaoXkXPzfigw6SdXbKmhN/i +93dRBQ/CC81WUw93rf3ju0gb5MdjfEM4b3y8t6Pq3AqkHdqoA3PWxKa8p59wpYu X0AjgOZLcc/zBIi3iFJ1i0y0XiBriCJBOooNTMoTJ4pTnq49RN4pmPlNLI5jY7EC OCEjqwetrIDkljTFYNU64awlm3cL14i9pafVCq8JYQuEFki0wuRam3cP8a93JKNZ +hQOqNBti+ogTExkRreeQt3KnFqlw7sND+9lQ3sz+134FNrRRtb/bQI108Lk/Jx+ dgAYokC8MGW3iwy4Ksn/Sq2h7aIzQgEyFZ6p9s2amb45bActC5/R36tH3AL0WwQ4 aT7VtynVOwcZ7fprwMb0gSn3rvJw5GU14rhEJAQ0tg5Qhzp1lQ1rWXKmYFCQCzTp T9aiGG3+4l8m7qk+rUBwJkspiVORTctiVD4gB9TTFB03chtsq/+R5dK3pzYttLky zadszHsrvZ2f9mZucfvaUkUdzc+6SucGE8kfma1lam6DDJsBvamyncOROLsDc+MZ xXWUj6X9Ax3uPadRYRKT6zC9pCzNx9f4B3myufqv2aSIEiF2tMfN8joIW6oepy/G ICBQfHdkV86E5/T895Av =Ak61 -----END PGP SIGNATURE----- --twz1s1Hj1O0rHoT0--