Cpanel / SuPHP Part 2 – Fix Ownership Issues
In addition to the correct chmod of files and folders (see part 1), you must ensure that all public_html files and folders have the correct (user and group) ownership. The following Perl code will eliminate nobody/root ownership. Place the Perl script into your /home directory and execute it. #!/usr/bin/perl -w my @dirs = grep -d,<*>; [...]