Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

public_html is writable by group error

Discussion in 'General Discussion' started by syriasea, Apr 28, 2018.

  1. syriasea

    syriasea Registered

    Joined:
    Apr 28, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,758
    Likes Received:
    79
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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
     
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    836
    Likes Received:
    62
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    As indicated by @24x7server the permissions of public_html should be set to 750 - please let us know if you continue to have issues once these are updated.
     
Loading...

Share This Page