Find World readable/writable files syntax error

Mark Sargent powderkeg at snow.email.ne.jp
Sat Feb 5 17:05:37 UTC 2005


Paul Howarth wrote:

>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.
>  
>
Hi All,

yep, something so simple. Thanx Paul. Cheers.

Mark Sargent.




More information about the users mailing list