Repairing permissions after windows reinstall
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Jul 4 09:55:00 GMT 2016
On Jul 4 06:27, Andrey Repin wrote:
> Greetings, Henry S. Thompson!
>
> > Andrey Repin writes:
>
> >> 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 files
> >>> 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.
>
> > Much to glib an answer. Changing the owner is the _last_ thing you want
> > to do after (programmatically) changing a bunch of ACLs.
>
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160704/5979f6b8/attachment.sig>
More information about the Cygwin
mailing list