Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <424CD5CE.7DC5AA5C@dessent.net> Date: Thu, 31 Mar 2005 21:02:06 -0800 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Path confusion References: <20050401044036 DOT D428B8553D AT pessard DOT research DOT canon DOT com DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Luke Kendall wrote: > find `cygpath -m /` -xdev -user $USER -print \ > | tr "\n" "\000" \ > | xargs -0 chown Administrators.SYSTEM You can use -print0, and since find is a cygwin application I don't see what the point of using cygpath is: find / -xdev -user $USER -print0 | xargs -0 chown Administrators.SYSTEM Though I would be tempted just to do "chown -R / ..." or even better, just set the desired ACL on c:\cygwin before installing and let it be inherited. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/