Setting permission to all files and folders - Linux
by Sanju[ Edit ] 2012-07-05 17:12:54
Setting permission to all files and folders - Linux
To set permission for all folders and files under the directory public_html, use the below command:
# find /home/username/public_html/ -type f -perm 0755
# find /home/username/public_html/ -type f -perm 0777
# find /home/username/public_html/ -type d -perm 0777
# find /home/username/public_html/ -type d -perm 0755