thehenrys.net

February 20, 2008

Recursively chmod directories or files only

Filed under: Server Admin — dh @ 12:53 pm

Great post here:
http://movabletripe.com/archive/recursively-chmod-directories-only/

# recursively chmod directories only
find . -type d -exec chmod 775 {} \;

# recursively chmod files only
find . -type f -exec chmod 664 {} \;

Leave a Reply