Random loss of permissions in public_html

#1
Hello Guys,

I having some problem with permissions in public_html, lsws can't access to .htaccess on /home/xxx/public_html

I had to ran chmod 755 on each damaged folder for view the website again.
SSH: chmod 755 /home/*/public_html

This is random issue, no all sites have the same problem.
Anyone has a solution for this? This is a random issue, only happen in one server...

Thanks
PS: WHM/cPanel and LSWS 4.2.6
 

NiteWave

Administrator
#4
SSH: chmod 755 /home/*/public_html
while it'll work. not WHM/cPanel standard for public_html

the standard is: permission 750, group is nobody
here's one example:
#ls -l /home/user1
drwxr-x--- 11 user1 nobody 4096 Jul 24 2012 public_html/

should check which script tried to change the default cPanel standard.

it's safe to upgrade to 4.2.7
can switch back by one-button click.
 
Top