X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cygwin.com
Subject: Repairing permissions after windows reinstall
From: ht@inf.ed.ac.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
Content-Type: text/plain; charset=us-ascii
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@inf.ed.ac.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

