[EMAIL PROTECTED] wrote:
> this will probably be wasted unless you fix the dirs as well:
find . -type f -exec chmod g=rwx,o=rx {} \;
Ummm, if you want to fix the directories, you'd be better off running this:
find . -type d -exec chmod g=rwx,o=rx {} \;
Your command was setting all files to g=rwx,o=rx, not directories.
From the find man page:
-type c
File is of type c:
b block (buffered) special
c character (unbuffered) special
d directory
p named pipe (FIFO)
f regular file
l symbolic link
s socket
D door (Solaris)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html