This may seem obvious to everyone, but when doing recursive file
operations starting at /, you need to remember that /cygdrive will lead
you to performing the file operation across whatever network drives you
have mapped.  (Just as you would under any Unix system when you mounted
drives.)

find / -xdev is a good option to remember.

In fact it's a good reason not to use the -R option on chown etc., and
instead to do find / -xdev -print0 | xargs -0 chmod ...

(AFAIK, you can't stop chmod, chown, etc., running across the network if
you use -R and start at /.)

luke


--
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/

Reply via email to