public_html keeps resetting to 750

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
Despite setting all users public_html folders to 755 they seem to keep swapping back to 750 which gives a permission denied error when trying to view the site.

Can anyone tell me a fix to stop this happening??
 

[Q3]

Member
Apr 8, 2003
14
0
151
I have this problem too.
I had to set 777 to the home folder to make it work.
But it is really not secure ?

Anyone got a idea?
 

Marty

Well-Known Member
Oct 10, 2001
630
1
318
Recompile apache without Enable File Protect and then ssh to the box and:

cd /var/cpanel

if there is a file there named fileprotect, remove it, then

chmod 755 /home/*/public_html

That should solve it.