Mass change directory and file permissions PDF Print E-mail
Written by Websmurf   
Monday, 26 February 2007

An easy way to change the permissions of all directories and files to the right ones:

For directories:

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

For files:

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


Last Updated ( Monday, 26 February 2007 )
 
< Prev   Next >