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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: 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--