cpanel changing permission in httpd.conf

omenix

Active Member
Aug 24, 2005
38
0
156
/dev/null
Does anyone here have a problem which is the cpanel changing the permission for /usr/local/apache/conf/httpd.conf to:

ls -l /usr/local/apache/conf/httpd.conf
-rw------- 1 root root 199195 Aug 28 08:11 /usr/local/apache/conf/httpd.conf

This is happened to me all the time when Im trying to update a new version of cpanel
So I have to manually chmod 644 to httpd.conf so my client doesnt reviece the error
"Unable to read /usr/local/apache/conf/httpd.conf!"

I have 20 servers running on cpanel. If this happened to me everytime I update then I die :mad:
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
31
473
Go on, have a guess
The latest version of cPanel (RELEASE and up) is meant to have httpd.conf chmod to 600, it's part of the new security model that has been implemented.
 

abubin

Well-Known Member
Dec 7, 2004
401
3
168
I had this problem on one of my server and updating to 10.6.0-R55 solved the problem.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
31
473
Go on, have a guess
omenix said:
Yes indeed but on client side they had an error "Unable to read /bla/bla/httpd.conf!"
If you find a reproducable bug that isn't fixed in EDGE, then you should log it in bugzilla so that cPanel are aware.
 

Arjoon

Member
Nov 5, 2004
5
0
151
chirpy said:
The latest version of cPanel (RELEASE and up) is meant to have httpd.conf chmod to 600, it's part of the new security model that has been implemented.
I have marked my cPanel only for STABLE upgrades and am just wondering why i got this bug? :confused: