Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <424D4BA9.2010507@byu.net>
Date: Fri, 01 Apr 2005 06:24:57 -0700
From: Eric Blake <ebb9@byu.net>
Reply-To: bug-coreutils@gnu.org
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: Luke Kendall <luke.kendall@cisra.canon.com.au>
CC: cygwin@cygwin.com, bug-coreutils@gnu.org
Subject: Re: Path confusion
References: <20050401071130.2051685080@pessard.research.canon.com.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@byu.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/

