Find World readable/writable files syntax error
Paul Howarth
paul at city-fan.org
Sat Feb 5 16:53:03 UTC 2005
On Sun, 2005-02-06 at 01:53 +0900, Mark Sargent wrote:
> Hi All,
>
> used the following,
> find / \( -perm -a+r -o -perm -a+w \) ! -type 1 >> world_readwrite.txt
> from this article,
> http://www.linux.com/article.pl?sid=04/04/15/1918219
> but, got the following error,
> find: invalid argument `1' to `-type'
>
> Is the syntax different for fedora2..? Cheers.
"man find" has the answer.
Hint: you are confusing "1" and "l".
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the fedora-list
mailing list