Karl-Heinz Herrmann <[EMAIL PROTECTED]> wrote: > > You most likely meant 'find / -perm -4000 -ls' > > I did mean: > find / -perm +4000 -ls > > and it does work with +1000 just as well -- seems I've no sticky bits set but > lots of suid bits and some with suid and sgid bits which a -4000 does not > catch as far as I know.
Since you're looking for a single (04000) bit, the difference between -4000 (all bits must be on) and +4000 (any one of the bits must be on) is pretty subtle ;-) I have no idea how you would catch anything with +1000, "of of the set bits on" would still only test the sticky bit. -- -bill davidsen ([EMAIL PROTECTED]) "The secret to procrastination is to put things off until the last possible moment - but no longer" -me -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

