File permission

Originally posted on Decembre 1st, 2005 on another blog of mine.

The question was: how can I change permission of a tree having the directories all in 777 and files in 664

chmod -R 777 theDir && find theDir/. ! -type d -exec chmod 664 '{}' \;

No comments yet

Leave a reply