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!

Changed /var owner to root:root in error

Discussion in 'General Discussion' started by mapg, Apr 19, 2009.

  1. mapg

    mapg Member

    Dec 9, 2004
    Likes Received:
    Trophy Points:

    Today I changed the owner for /var folder recursively to root:root in error.

    I realized there are several symbolic links pointing to others folders that could take to user and group root.

    I tried to chown folders "Recursively" to their previous owners as far I could remember them.

    mysql:mysql to /var/lib/mysql
    named:named to /var/named
    mailnull:mailnull to /var/spool/exim

    I am not sure if I have chowned them righly because I haven't any reference to do it.

    How can I fix it rightly or view a list as example to chown them correctly.

    I am worry about that if some service needs to restart, it is going to start to fail.

    Thank you very much in advance for your help

    #1 mapg, Apr 19, 2009
    Last edited: Apr 19, 2009

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