> 2004-11-5, 04:34(-08), aryzhov:
> [...]
>> You may want to add \( -perm -1 -o -perm -10 -o -perm -100 \)
>> to the find rules
> Same as -perm +111
That's not valid syntax for Solaris 'find'. '+' is only allowed on
symbolic permissions (like +a+x), not octal.
# /usr/bin/find /tmp -perm +111
find: -perm: Bad permission string
/usr/bin/find: path-list predicate-list
Even so, it looks to me like that would only match files will all three
execution bits set, not just one (as the previous one did).
Quote:> But shell scripts are not necessarily executables, they can be
> called as: sh ./the-script.sh
Very true.
--
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >