This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Path confusion


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]