SUMMARY: find command displays

2007-12-24 21:58:00

Thanks to Russ Poffenberger (right on) and a couple of others...
I needed -4000 instead of just 4000, I knew it was something simple :)

- Mike

-----Original Post-----

> I'm trying to get a list of files with permission of 4000 and the below
> returns nothing...it used to work or am I overlook something? The file
> is just empty afterwards...I know there are tons of files as this is a
> Solaris 8 FULL + OEM installation.
>
> find / -type f -perm 4000 -exec ls -alL {} \; | tee -a suid.txt &
>
> ls -l suid.txt
> -rw-r--r-- 1 root other 0 Feb 21 12:43 suid.txt
>
>
> - Mike

Comments

Got something to say?

You must be logged in to post a comment.