chmod equivalent to find commands

Fafa Diliha Romanova fteg at london.com
Sat Mar 12 03:54:00 PST 2005


hello.

i know there's an equivalent to these two find commands that
can be summed up in one chmod command:

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

it fixes my permissions ...
i haven't tested this yet but i think it's wrong: chmod -R u+rwX,a+rX

what would be the best solution here?

thanks,
-- fafa

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the freebsd-questions mailing list