delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/04/05:55:21

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=xlnNmu6EZkJvAbGQE0347IvL4U8cJxVpIAptuzjRJ1WLnaSxil5+5
Qn7JgsTxJwyLVNtq//uyDYiOjlEVbzX84EM1UGAAJCtXIAMwZznKCSC7NLIicw1E
g90Q+CwNdU3TD6n2h36ttsHc0qyy0mOKKSjrS2mJ1j0JypAnvG6fg4=
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=KvCoR4LBf/qGscx/8Xl1nJjbIdg=; b=Vs5lRA8gQmCwi6VBsbeu3DRxBZfy
2mOwuJQYtUCbtZkg8u51fBrCO/KzYg6pH7/CnE1ssRYg7M397OdgvwKP1AcKm3cL
Em2yoc9b3jlnP9ojeGVRRsADhigNdSmi73P0d+xLupef3QgbwGHwR6/VtPNeZHXT
/yFNVtya+oDQB/0=
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=-94.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=Hx-languages-length:1197, ace, ACE, H*i:sk:3830932
X-HELO: calimero.vinschen.de
Date: Mon, 4 Jul 2016 11:55:01 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Repairing permissions after windows reinstall
Message-ID: <20160704095501.GD13445@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f5bh9cdociz DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <57291758 DOT 20160701090000 AT yandex DOT ru> <f5bbn2hfpl7 DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <383093230 DOT 20160704062725 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <383093230.20160704062725@yandex.ru>
User-Agent: Mutt/1.6.1 (2016-04-27)

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

On Jul  4 06:27, Andrey Repin wrote:
> Greetings, Henry S. Thompson!
>=20
> > Andrey Repin writes:
>=20
> >> Greetings, Henry S. Thompson!
> >>
> >>> Good news: My cygwin file tree survived a Windows (10) reinstall
> >>> Not-so-good news: I have a new SID, so not only do I not own those fi=
les
> >>> any more (that's easily fixed), but I don't have the permissions I
> >>> should, because they are now held by some miscellaneous old SID.
> >>
> >> So, what? Go to top directory properties, Advanced, Owner tab, Change,=
 and
> >> change the owner to what is desired.
>=20
> > Much to glib an answer.  Changing the owner is the _last_ thing you want
> > to do after (programmatically) changing a bunch of ACLs.
>=20
> Much like in POSIX, ACL and ownership are not directly dependent one on
> another in Windows.

Bzz.  POSIX ACLs maintain the concept of owner ACE and group ACE.  They
*are* distinguished from the ACEs of other users and groups in an ACL.
The fact that Windows ACLs don't do that is a real downside.  Not a bug
per se, but ugly.


Corinna

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

--kXdP64Ggrk/fb43R
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJXejJ1AAoJEPU2Bp2uRE+goGgQAKWK+PAVjyefxENfffofKTp7
1vwwHsn3JCHmeWj4Q0Ls2vEI6a6zLw9lSVY4UcEsohPEDmQ6vbCaLbc0Jt+V9sdu
ln35DIV/CmW5QFc4PRu/Ysfcwspm7cJfBXG1B7amdEbJZ+JT0D8hrCuGZMs1LDLq
aNaLsIH2472o78AorryMPozLQg/ZKjXKMyHlky1FtUGDR6jvWXEjXowIeMyS0zT2
h1/gmsrCou2BKLQE9mp1zVs1DnAanymLEJ3YxJIljcbupCSB1ZIrDGe1HHWgTA1p
s64EPDbB0D6w7oTkj+kmX2KHT3VH04CA+Ai1q/QumAOff878BTEaOdtbJue8Uum5
9g1y7q6cbx6aPBtwAgecqp/SfLbtNG4LmNTjHaprTKd3NUmbsGEkkns7pUXEewIG
j+Gq7SuAbeRTPzasf98yBkU7jFTxDNhwqUk8O2V9BK5s/sZAGXq5KayW5H3TrxS6
AtY7awI+10B7FNiTs5TwjSABdGPJ9B7EL53iPJmfKlvF9kimIH0yzjHSWaqgGd2X
vg/+0YUCXzYhwgfmmbHqdHh5hsJ7oUr5TY/2ulWIkQZ9z7YvJ2tnHpVvbo4G+OeS
SA0mSkqnDzB0rleFPi83Ukpulr3NDs7XuoTprW4DS1E+a4k0gBB87dIG5HYIaamq
rZsylTm7gF8YYY44aaDM
=QInG
-----END PGP SIGNATURE-----

--kXdP64Ggrk/fb43R--

- Raw text -


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