Pages

Monday, July 16, 2012

Script to change all file and directory permission under a location


To Change permissions of all files and directories inside a directory using a single command


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

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

No comments:

Post a Comment