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!

Specific folder permissions for CPanel

Discussion in 'General Discussion' started by WCrooks, Sep 24, 2009.

  1. WCrooks

    WCrooks Active Member

    Aug 29, 2003
    Likes Received:
    Trophy Points:
    Recently, a server I help administrate had an unfortunate experience:

    -every- file on the server was chowned to root.

    While I managed to recover all services on the host, including CPanel, there are still some individual problems which I'm sure are related to directory permissions (broken images, root phpmyadmin no longer works, etc.).

    Additionally, I have no real way of knowing what the proper directory permissions related to CPanel are, because I don't have a second install of CPanel to compare to.

    To that end, I'm wondering if anyone could perhaps point me to a reference that contains details on file ownership within CPanel?

    Or...failing that, does anyone have a relatively clean CPanel install they'd be willing to run an ls -ltrR on and send me the output?(/usr/local/cpanel and /var would be my main concerns here -- I would of course not need /home, /usr/local/apache, or similar system directories).

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MattCurry

    MattCurry Well-Known Member

    Aug 18, 2009
    Likes Received:
    Trophy Points:
    Houston, Tx

    I am sorry to hear you are having difficulties with finding these processes, I have attached a tutorial that has some interesting variation on ps and grep that may help you find your processes. I hope that helps, please feel free to ask if you have any other questions.

    Show All Running Processes in Linux

    Thank you,
    Matthew Curry

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