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 Date: Wed, 22 Oct 2003 13:16:19 +1000 (EST) From: luke DOT kendall AT cisra DOT canon DOT com DOT au Subject: Be careful of network drives under /cygdrive To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: <20031022031619.744EA34C48@nevin.research.canon.com.au> 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/