Hello Nick,
I think you should move the following lines from line 791 to line 813 in /scripts/wwwacct.
cPanel.net Support Ticket Number:if (-e "/var/cpanel/fileprotect") {
my $httpgid = (getpwnam('nobody'))[3];
my $useruid = (getpwnam($user))[2];
chown $useruid,$httpgid, "$mnt/$user/public_html";
chmod 0750, "$mnt/$user/public_html";
}



LinkBack URL
About LinkBacks
Reply With Quote






