X-Recipient: archive-cygwin@delorie.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=apIpkRVa8lFSlUjoLqsxlgX4EWEhYt0RaFhFccmCtbBplQyhWkjM4
	1U5y96w+tfFg13nMr8rY6rHf6DIh5agELV9UHZNFG+4nK9jfopwg3DAk3c/xCHi8
	YJzMYUEB2NSygwxhrMoiU4IyAepxouJ3E4UlSCb01bvT8mHTtgiSeM=
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=JgDMcB67lqK/3dEK1xitTPYANCA=; b=Yn70P7Odi3Zn7RYcOSHulJG9bs5w
	V/0+WZUHYvf+9on0srxAp8LVkpJNlwIm/KWljMGiViea/XSx/HK/o1hHwJ0cOomD
	ZY6r5aJX5ny6zD3AW8kQJD8EjmtGnDERKdve5CkNg4XHibajLrVjhoF+X30/HCZd
	ScWM0ILv5Cic93U=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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: Fri, 6 Nov 2015 09:48:41 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.3.0-0.6
Message-ID: <20151106084841.GB23299@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20151104091229.GB21525@calimero.vinschen.de> <87pozpwrao.fsf@Rainer.invalid> <87bnb9wk11.fsf@Rainer.invalid> <877flxwj6z.fsf@Rainer.invalid> <20151105092448.GC18221@calimero.vinschen.de> <20151105175546.GB20857@calimero.vinschen.de> <20151105175844.GC20857@calimero.vinschen.de> <87611gl0gk.fsf@Rainer.invalid> <CAA3tTg9Ug16rdvC5epx0=NpC8dz2fL5WDPkyYimBA5FJMD7cpA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y"
Content-Disposition: inline
In-Reply-To: <CAA3tTg9Ug16rdvC5epx0=NpC8dz2fL5WDPkyYimBA5FJMD7cpA@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Nov  6 01:27, Jan Bruun Andersen wrote:
> I am not sure if this DLL snapshot (cygwin1-20151105-dll) is supposed
> to fix stuff like this, but I think I remember something about
> ordering ACL's?

It's explained in the announcement.

> Anyway I have this 'bin' directory in my home which shows up with
> 'Administrat=C3=B6rer' (Swedish for Administrators) as the owner. I had
> hoped it would should me as the owner.

Well, that's not what the DLL is supposed to do.  The idea of the ACL
code is not to fake wrong ownership, it tries to evaluate POSIX ACLs as
correctly as possible given the underlying Windows ACL.

In your case the owner of the dir *is* the administrators group,
otherwise Cygwin wouldn't show that.  If you want to be owner you have
to make yourself actually owner, either in the Windows file security
tab, or by using Cygwin's chown as Admin.

> Some output:
>=20
> jabba@Luap ~
> $ ls -ld bin
> drwxrwx---+ 1 Administrat=C3=B6rer jabba 0 Oct 29 15:42 bin
>=20
> jabba@Luap ~
> $ getfacl bin
> # file: bin
> # owner: Administrat=C3=B6rer
> # group: jabba
> user::rwx
> group::rwx
> group:SYSTEM:rwx
> mask:rwx
> other:---
> default:user::rwx
> default:group::rwx
> default:group:SYSTEM:rwx
> default:group:jabba:rwx
> default:mask:rwx
> default:other:---
>=20
>=20
> jabba@Luap ~
> $ icacls bin
> bin NT instans\SYSTEM:(OI)(CI)(F)
>     BUILTIN\Administrat=E2=96=92rer:(OI)(CI)(F)
>     LUAP\jabba:(OI)(CI)(F)

Note that the output of icacls does not tell you anything about
ownership.  The ACL does not contain this information.  For all we know
from this icacls output, the owner of the above ACL could be the "Guest"
user.


Corinna

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

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature

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

iQIcBAEBCAAGBQJWPGlpAAoJEPU2Bp2uRE+gShMP+wYh/jBLpPsaZomcThdkbo/r
GcuoBD+jFThjeXG6mb21n6FrvBN1Vn7C5Sq+6NDw2puvBTSyLtqS6U5q44XYImIJ
xZ/FGZOYTQnj1PdGttsnatHJQsXjmE2yHU+jN4DtOK3FdNc9ChCsrytiqmzxri6i
R+sTL4f8AWA9/EGIZtF3Op6Xz+MrRTgNAZMX8HVOlGxpZMvmNxaOIC5+c32Riba1
rxdIrLei71czbX5zTtiEIQxZSoAZ3FbkYIdX7ICYc0KAqRfI+zKpU6Ip84HvxnKK
V63bJB4hsr/WTee/xsRv1kYyiou3PPp8pvKQ892+UoU7P2p+I/xDuEzRbaYs3lK7
6cc1/W78YIDtcVXc/DIVX0tyM8MpohcDS+lfKId+IoT9yJyjlmv+fYD94gMyDwJa
tXWNRhqfW7CK4MK5ROtr3n1Pihm3CsedX7jP0VT9VSYy7sr8TYrxik575l/tuV2A
A277b1Inh1rMAckov8TUHlBMChfOinTHUc+dX0AMXsSFhyb4b4Szbrk91J5FNnjm
9C0AeWR2Q48wuQxXYf8gTWAfyY39/8Ihjl7EyOtrSV2bhwdn2DVq/+YrVKm0Uk6E
HVVavgpPxB369R9bdGcV9S+EPU/WAm81EWB0B7GYhQb+Xo8KC3tdHMMNaQ0W9Goy
A31LosCgfnnr3E4alcAV
=BwDs
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--
