Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Safe to change ownership of files in /usr/local/cpanel? (Why w allowed for anyone?)

Discussion in 'Security' started by olephant, Mar 15, 2013.

  1. olephant

    olephant Registered

    Mar 15, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    My root admin skills are pretty basic, but I was wondering why the ownership of these files (or files such as these) allows write permissions to anyone:

    File '/usr/local/cpanel/3rdparty/php/53/lib/pear/HTML_Template_IT.xml' is owned by root and has written permissions to anyone.
    File '/usr/local/cpanel/3rdparty/php/53/lib/pear/HTTP_Request.xml' is owned by root and has written permissions to anyone.
    '/usr/local/cpanel/3rdparty/php/53/lib/pear/Date.xml' same thing...

    This was reported by Rootcheck (OSSEC), and yeah that seems to be the case. I have no idea what the files are. RW permissions for anyone... Problem?
    Should I ever hesitate to change permissions of files within these directories (in order to restrict to root user)?

    Feel free to tip me off if this question should be put to my host instead.
    Figured that if it had anything to do with how Cpanel works, it might be useful to ask here...

    I've already removed write permissions as I reckoned it would be ok.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice