set 755 permission

SuExec server permission issue?

July 3, 2010 // 1 Comment

After enabling SuExec on server most users getting “500 Internal Server Error” at that time refer following steps. 1st)  Correct cPanel users files/directories ownership. —— for i  in `cat /etc/trueuserdomains   | awk ‘{print $2}’` do chown $i.$i /home/$i -R; chown $i.mail /home/$i/etc -R; chown $i.nobody /home/$i/public_html; done; —– 2nd) Correct permission for files and directories for cPanel users from shell but make sure that you logged in as root user and running following command in /home partition. —– find . -type d  -perm 777 -exec chmod 755 {} \; find . -type  f  -perm 644 -exec chmod 755 {} \; [...]