Setting permission to all files and folders - Linux

by Sanju 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

Tagged in:

1044
like
0
dislike
0
mail
flag

You must LOGIN to add comments