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!

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,815
    Likes Received:
    84
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,851
    Likes Received:
    135
    Trophy Points:
    118
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice