> 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"
You can either do what Casper wrote, or you can also do the following: find /tank -type d -print | xargs chmod a+rx find /tank -depth -type f -print | xargs chmod ug+r,o-rwx However, Casper's solution is slick & elegant, as usual. -- This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
