How to fix a user's files and folders permission when using suPHP


Run the commands below if the user need to fix all his folders and files permission when running suphp. Replace the username.

 

find /home/<<username>>/public_html/ -type d -exec chmod 755 {} \;
find /home/<<username>>/public_html/ -type f -exec chmod 644 {} \;