bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path confusion


From: Eric Blake
Subject: Re: Path confusion
Date: Fri, 01 Apr 2005 06:24:57 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----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             address@hidden
-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]