public_html is writable by group error

syriasea

Registered
Apr 28, 2018
3
1
3
Syria
cPanel Access Level
Root Administrator
Hello ..
I have a problem in some sites after moving from server to server
The problem with file errors is
site one
[Sat Apr 28 16:56:58.420139 2018] [:error] [pid 11094] [client 94.47.145.144:36637] SoftException in Application.cpp:657: Directory "/home/USER/public_html" is writeable by group
--
site two
[Sat Apr 28 17:26:59.638296 2018] [:error] [pid 12668] [client 94.47.145.144:35423] SoftException in Application.cpp:657: Directory "/home/USER/public_html" is writeable by group

How to fix and the problem
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
97
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

The public_html should have the permission set as 750.. You can execute the below command on the server, so that it will change the permission to 750 for the public_html for all accounts inside /home directory.

# chmod 750 /home/*/public_html

Additionally, if you also have home2 or home3, etc, you can execute below commands too:
# chmod 750 /home2/*/public_html
# chmod 750 /home3/*/public_html