>But, Ive heard that to be able to search directories, they must have set "x" 
>bit, so directories:
>rwx r-x r-x
>and files:
>rw- r-- r--
>that sucks. I must treat files different from directories. I can not do "chmod 
>-R 744 /tank"


This is why you can do the following with chmod:

        chmod -R a+rX /tank

+X means:
        if it's a directory or a file with one or more x bits set, set all 
        x bits
        if it's NOT a directory and none of the x bits are set, keep all 
        the bits off

Casper

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to