This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Path confusion
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 31 Mar 2005 21:02:06 -0800
- Subject: Re: Path confusion
- Organization: My own little world...
- References: <20050401044036.D428B8553D@pessard.research.canon.com.au>
- 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/