ChrisFirth

Active Member
PartnerNOC
Apr 10, 2008
35
0
56
cPanel Access Level
DataCenter Provider
Hi,

I noticed when a users docroot doesn't exist (renamed or deleted for what ever reason) and /usr/local/cpanel/bin/build_apache_conf is run to regenerate the apache config it creates a new docroot for the user:

info [build_apache_conf] Creating missing document root /home/myuser/public_html for myuser

The permissions for the new docroot seem to be different compared to the defaults for the public_html folder for new accounts. The build_apache_conf made docroot has 755 permission and is owned by the same user/group. On a new account that is created public_html has 750 permissions and is owned by the user but the group is nobody.

I believe the docroot created by build_apache_conf should also be the same permissions, 750, is there any way I can correct this?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hello :)

Please open a bug report for this issue via:

Submit A Bug Report

You can post the ticket number here so we can update this thread with the outcome.

Thank you.