Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Aug 2005
    Location
    /dev/null
    Posts
    38

    Default cpanel changing permission in httpd.conf

    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
    Last edited by omenix; 08-28-2005 at 05:57 PM.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Aug 2005
    Location
    /dev/null
    Posts
    38

    Default

    Yes indeed but on client side they had an error "Unable to read /bla/bla/httpd.conf!"

  4. #4
    Member
    Join Date
    Dec 2004
    Posts
    388

    Default

    I had this problem on one of my server and updating to 10.6.0-R55 solved the problem.

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by omenix
    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member
    Join Date
    Nov 2004
    Posts
    5

    Default

    Quote Originally Posted by chirpy
    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?

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge shashank's Avatar
    Join Date
    Apr 2003
    Posts
    146

    Default

    May be you upgraded beyond 10.4 and then downgraded to 10.2 stable. Thats why you have this issue.
    Shashank Wagh.
    Systems Administrator.
    http://www.shashank.net

Similar Threads & Tags
Similar threads

  1. open_basedir , httpd.conf permission
    By ataomega in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-19-2008, 03:29 AM
  2. Cpanel keeps changing httpd.conf
    By dennismv in forum New User Questions
    Replies: 5
    Last Post: 12-14-2007, 08:58 AM
  3. Permission Changes for httpd.conf
    By antodeepak in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-10-2005, 09:04 PM
  4. Permission of httpd.conf
    By cinu in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-26-2005, 10:10 AM
  5. httpd.conf location keeps changing
    By ethank in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-06-2005, 04:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube