December 21, 2009

Changing permissions recursively

Changing permissions recursively

For changing the permissions of all the sub directories, please use the following

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


For changing the permissions of all the sub directories, please use the following

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

No comments:

Post a Comment