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 Message-ID: <424D4BA9.2010507@byu.net> Date: Fri, 01 Apr 2005 06:24:57 -0700 From: Eric Blake Reply-To: bug-coreutils AT gnu DOT org User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Luke Kendall CC: cygwin AT cygwin DOT com, bug-coreutils AT gnu DOT org Subject: Re: Path confusion References: <20050401071130 DOT 2051685080 AT pessard DOT research DOT canon DOT com DOT au> In-Reply-To: <20050401071130.2051685080@pessard.research.canon.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [moving feature request portion of thread to bug-coreutils] According to Luke Kendall on 4/1/2005 12:11 AM: >>>> find / -xdev -user "$USER" -print0 | xargs -0 chown Administrators.SYSTEM >>> >>> You must mean 'chown -R --from="$USER" ...' :-) >> >> Hmm, sounds better still. :-) > > > D'oh! Not possible: there's no -xdev option on chown, so that would > do a whole lot more chown-ing than intended, as it reached across the > network, or at least into other mount points under "/" ... How about it - does it make sense to add an --xdev option to all of the recursive descent tools (chown, chmod, ls, ...) to force the recursion to stop at mount points, or is find/xargs the only supported idiom for this? - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCTUup84KuGfSFAYARAsM0AJ9tr8cXToAUL8pFTbQ7Wwsb1QdBIACg2bjN 65Rg1B3FY0hhu/0ABmsTVHw= =cgtW -----END PGP SIGNATURE----- -- 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/