Change homedir Ownership/Permissions

grayloon

Well-Known Member
Oct 31, 2007
117
4
68
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,220
463
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.
 

grayloon

Well-Known Member
Oct 31, 2007
117
4
68
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).
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,220
463
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.