delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/11/10:31:50

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=rKsCyBsjGBbk5iyVbbRoVI2v2DVUFwgfIaXubAbNE6zKa1GfREz2M
lRv/vozV/BsIXhG//azzbrbtVR9v6pm8T5z9WBAkXOalJtPcvKLt5+zODthxF3zI
PMUEGggZcQkSX/Qc0FlkIGW+oO9DLXLXQvS11Fij/6dDzbzQ3Itu5o=
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=cxbNHMO6nA5tvIR+3EUgyb+3ljU=; b=BdffJqZRmDgRMwyDsprACw7OwoX4
3h4T5blw1TzUqvzL0lhm+twHZa5dC8ZmpIfhPA3xFC5O8DkIb7giI83dyWJAOFJW
Zf8UN+6AH2w3OpDyzTNsjMz19SbQ6W8qpdgEkYuEm2vRxIsWW8tp2KAD0bn+6HHj
vzsH7+7wvlqa7G8=
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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 11 Apr 2015 16:31:25 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [TESTERS needed] New POSIX permission handling
Message-ID: <20150411143125.GI7343@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20150410100703 DOT GA4401 AT calimero DOT vinschen DOT de> <87lhhzcarc DOT fsf AT Rainer DOT invalid> <5528E2ED DOT 7090105 AT gmail DOT com> <20150411095958 DOT GD19111 AT calimero DOT vinschen DOT de> <5529151E DOT 8000704 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <5529151E.8000704@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

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

-----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--

- Raw text -


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