suPHP increases server security and fixes the issue of scripts creating files owned by nobody

Files now dont have to be 666 and folders no longer need to be 777 to be writable. The e permissions below are sufficient

Files: 644
Unwritable Files: 444
Folders: 755

You can use the following commands to change the permissions :

find /home/*/public_html -type d -perm 777 -exec chmod 755 {} \;

This checks for directories with 777 permissions and chmods them to 0755.

find /home/*/public_html -type f -perm 666 -exec chmod 644 {} \;
find /home/*/public_html -type f -perm 777 -exec chmod 644 {} \;


These check for files with full permissions and changes them to 0644. You can use the d switch for directories.