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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=jpPiZHOlMKv6RLFe YDbqVwxcUeOGCxHWNzrmAqqB+dH112KA7Ajf8xPt3OojrWHf9kcPORsNq0OO3AGH mKsYBJfo7iPeof2uv4SEBDou7mJSJz4pNLLYxJ8QdqIZMW94T+Rzw0dfxmYOGVfm ileSbu83yHjrh7r6OsTWQ0xJf7A= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=wnvNm1UIbRgJQ3KTBKztRQ d+OOE=; b=Vspu3YA3D6uHgycx5Wr5jLkzJQVRT/lkabObBMVhXHFhcNljk7DHyZ 4B9VY3PuR8wnKHWEKaExi8ZQX6t7zqGK5NmlsaldRrBIZS12bh1wHi3Z0shWlDo8 Y6I4YZYdgz+FC3sGVqX7kP6q7dWAeoFeLMb6tDZB7sUQb1ZWsjSOM= 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=3.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, Advanced, UD:yandex.ru X-HELO: forward3h.cmail.yandex.net Authentication-Results: smtp2h.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Fri, 1 Jul 2016 09:00:00 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <57291758.20160701090000@yandex.ru> To: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson), cygwin AT cygwin DOT com Subject: Re: Repairing permissions after windows reinstall In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. > 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? If you write these SID's it would be easier to tell. > Can this be easily fixed, i.e. put me back where I used to be? As Corinna said, this can be fixed, you just have to fake a valid UID for old user to jumpstart the process. Obviously, you would need to run the script as administrator account to work on the permissions changes. -- With best regards, Andrey Repin Friday, July 1, 2016 08:55:58 Sorry for my terrible english... -- 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