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
================================================================================
# 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
================================================================================
No comments:
Post a Comment