delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/06/03:49:04

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=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 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: Fri, 6 Nov 2015 09:48:41 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.3.0-0.6
Message-ID: <20151106084841.GB23299@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20151104091229 DOT GB21525 AT calimero DOT vinschen DOT de> <87pozpwrao DOT fsf AT Rainer DOT invalid> <87bnb9wk11 DOT fsf AT Rainer DOT invalid> <877flxwj6z DOT fsf AT Rainer DOT invalid> <20151105092448 DOT GC18221 AT calimero DOT vinschen DOT de> <20151105175546 DOT GB20857 AT calimero DOT vinschen DOT de> <20151105175844 DOT GC20857 AT calimero DOT vinschen DOT de> <87611gl0gk DOT fsf AT Rainer DOT invalid> <CAA3tTg9Ug16rdvC5epx0=NpC8dz2fL5WDPkyYimBA5FJMD7cpA AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 AT Luap ~
> $ ls -ld bin
> drwxrwx---+ 1 Administrat=C3=B6rer jabba 0 Oct 29 15:42 bin
>=20
> jabba AT 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 AT 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--

- Raw text -


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