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=QwYKWw9FydS5CoUF HVh4FXZ/z3POA7eMshbtL+aDnnI9QiqyAe9tYPSAqARajZodv3qeEf9nDnqC8mOt 0kAKRI81EBVO7GUpVShKT48k5N8wkukAjNrtTuU1q953iZPFHm+5u00fOpxjOK5k PkrU5DGWUFNyuqUf7swxktMu95Y= 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=R06U9BPUHnNJSqv2+7H1++ uNQTw=; b=EKgdOG0KUhjKxSRKxwJqK7zqaFcfLXhUR4paWpsOjYYaN1qETMysVf LJQbgoTDDRjdijUnRCITPBW0Apv0r1//6FEoIrAEhwgx/+0PwNpTB4PDHXwYRiIf pmvLyM8RFw0aunCoO5oc1KGdm6bQQdIG0x8jAIXnIcC8Rq/8dW6GM= 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=2.0 required=5.0 tests=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!, thompson, tab X-HELO: forward2o.cmail.yandex.net Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Mon, 4 Jul 2016 06:27:25 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <383093230.20160704062725@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: <57291758 DOT 20160701090000 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. I don't understand your statement. -- With best regards, Andrey Repin Monday, July 4, 2016 06:25: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