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//public_html/ -type d -exec chmod 755 {} \;

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

Repace with the real username in the system.

[del.icio.us] [Digg] [Reddit] [Slashdot] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!]

Leave a Reply

You must be logged in to post a comment.