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:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=A3UAYIb+GCharx89yvDS71OTOwtCFgDolRY7RWfulQNwmtda1xKy7 Uqrsy9PiRPdxbnUMge5H35r56tj4PHXmE1wJsEzgRYXIR4Co7/drR3V82vpXrM7x 4uXjMVMdP8CYftCKFTIrC8V0e3gcdrO18kLHnGM7beHo7z342V4yj4= 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:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=Dt2bwJnbejYCQpMZ68MJIxW26UU=; b=wP8mQ+co2OGpNSYZhpYcELcCWXsS xW4CQVxp+vkbln9IoCb/DG33qRn0QMNPNR305gRdF0FknSaud6noWRbEhDYXM1Lv eywqNa1WppsSWS8DY9StxyqiWgqwXW7Fu3D6BQwXt0TpTH0hdwTEdQxeI4AjhIAu U2NBsb7QNKIRwWo= 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=-0.1 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=damage, corinna-cygwin, corinnacygwin, H*M:post X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: Repairing permissions after windows reinstall Date: Tue, 28 Jun 2016 12:09:46 +0000 (UTC) Lines: 15 Message-ID: References: <20160628103406 DOT GB22797 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Corinna Vinschen cygwin.com> writes: > - find . -uid 98765 | xargs chown This would run into /proc, which can create a lot of damage depending on what you do with the files. The find should either be started from /cygdrive/c/wherever_cygwin_is_installed and/or use the '-xdev' option. In order to process files with spaces in their names correctly, you'd also need to use '-print0' on the find and '-0' for xargs. That still doesn't fix inherited ACL I think, so you'd need something else to fix those (preferably before doing the chown). Regards, Achim. -- 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