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.

Change homedir Ownership/Permissions

Discussion in 'General Discussion' started by grayloon, Feb 12, 2015.

  1. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    For several of my accounts, I have a directory structure like this:
    /home/{acct}/domain.com/public_html

    When I rebuild the httpd.conf file, these public_html directories often have the wrong permissions and the group is nobody. I think it's possible to change that using the postwwwacct script. Is that the correct place to look? If so, I could use a little direction to make this happen.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is the "public_html" directory you referenced utilized as a document root for your domain name? What PHP handler are you using, and to confirm, do the updated permissions/ownership values result in an error message when accessing your website?

    Thank you.
     
  3. grayloon

    grayloon Well-Known Member

    Joined:
    Oct 31, 2007
    Messages:
    98
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Evansville, IN
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes - the public_html is the document root for the domain name. I'm using the DSO handler with PHP 5.4. The websites are still accessible, but my developers are unable to access the public_html directories (unless they use sudo or su).
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page