How to resolve SuExec server permission issue.

In this forum you can read tutorials. You can also post your own tutorials to help other members.
Site Admin
Posts: 22
Joined: Sat Mar 16, 2013 9:54 pm

How to resolve SuExec server permission issue.

Postby HR-ADMIN » Fri May 31, 2013 2:32 pm

1st) Correct cPanel users files/directories ownership.

for i in `cat /etc/trueuserdomains | awk ‘{print $2}’`
chown $i.$i /home/$i -R;
chown $i.mail /home/$i/etc -R;
chown $i.nobody /home/$i/public_html;

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 {} \;
Hostripples - Leaders in Linux Hosting
HostRipples | Domain Name Registration & $1 Web Hosting

Return to “Tutorials / How tos?”

Who is online

Users browsing this forum: No registered users and 1 guest