Subject: Re: Path confusion
From: Brian Dessent <[email-masked]>
To: [email-masked]
Date: Thu, 31 Mar 2005 21:02:06 -0800

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/