delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/28/06:04:37

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:to:subject:from:date:message-id:mime-version
:content-type; q=dns; s=default; b=q0Yi6HjFLsxWJsO/+lu9BZQKagwuc
G7dheijidFbzOPZu6eFcHDFiFYsz+xNlCMmPsYGsFXRjoMcbu2Tge90Lmm8EZPJk
uO/ZOhTnbKr71mo2DWKQcY+R5Y9nHPKUOMKRB4D+hEDXTm2aJuc+Iy/c5xDug6Q1
1nXfIoZbv/U1Ww=
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:to:subject:from:date:message-id:mime-version
:content-type; s=default; bh=ZjdEZ/laAghty31dS8lIjDYKILs=; b=pmE
kVdaY3jVLVl7GIGvz5Jq4SLA+rA+g8oHbh4NvdEnThIA0N+jU39vUwlkhA4p44CB
r8rebfTCh3UwgIAPms4pHVOoicqdcyLhsVMqI27N8RHv7x6cM7dYE2xT4ox68ey6
b43n7/IIGWQwQ5+uEIliE+RZ3sjoxO9hQKaAKIxE=
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=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=henry, Henry, School, tab
X-HELO: nougat.ucs.ed.ac.uk
To: cygwin AT cygwin DOT com
Subject: Repairing permissions after windows reinstall
From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson)
Date: Tue, 28 Jun 2016 11:04:04 +0100
Message-ID: <f5bh9cdociz.fsf@troutbeck.inf.ed.ac.uk>
User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-IsSubscribed: yes

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.

In fact I see _two_ raw SIDs when I look at the security tab for any
directory in the old cygwin tree: one has Full control, and the other
just Read & execute.

I presume the first is the old me, what's the second?

Can this be easily fixed, i.e. put me back where I used to be?

Thanks,

ht

[Note, I have read

  http://superuser.com/questions/439675/how-to-bind-old-users-sid-to-new-user-to-remain-ntfs-file-ownership-and-permiss

which was the only thing I could find by searching, but I wondered if
there was a Cygwin way. . .]
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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