> I usually do a:
> 
> find / \( -perm +4000 -o -perm +2000 \) -type f -exec ls -l {} \;

Doesn't that find files that are _only_ SUID or SGID?  The `+' means it
requires at least those permissions.  Try using a `-' instead.

It looks to be the same for the most part, but I'm not sure it will always
be..

Dave



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to