Fix User’s Folder and File permission when suPHP enabled

Just use the command below to fix the user’s files and folder permission.

find /home/username/public_html/ -type d -exec chmod 755 {} \;

find /home/username/public_html/ -type f -exec chmod 644 {} \;

Repace with the real username in the system.

Leave a Reply