The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

public_html is under "nobody" Group

Discussion in 'General Discussion' started by pauloray, Jan 28, 2014.

  1. pauloray

    pauloray Well-Known Member

    Joined:
    Jan 16, 2012
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    I updated Apache 2.2 to Apache 2.4 last week and one thing i noticed is that /home/cpaneluser/public_html is owned by cpaneluser and group under nobody

    Code:
    drwxr-x---  11 cpaneluser nobody  4096 Jan 12 01:13 public_html/
    
    Is this normal?

    And using using "top" on SSH, I also see "nobody" on the list under USER.


    How can I fix this?

    This is my server config:
    Code:
    Default PHP Version (.php files)	5
    PHP 5 Handler	suphp
     	 
    Apache suEXEC	on
    Apache Ruid2	off
    
     
  2. Sreejit

    Sreejit Member

    Joined:
    Apr 11, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Both permissions and ownership of public_html are correct.

    Apache does run under nobody. The php process created under it will run under their respective user.
     
  3. pauloray

    pauloray Well-Known Member

    Joined:
    Jan 16, 2012
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    Thanks Sreejit.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, the ownership values you referenced are normal, as indicated by the other poster. It's normal for Apache to run as "nobody". The exception to this is if you are using Mod_Ruid2:

    EasyApache - Mod_Ruid2

    Thank you.
     
Loading...

Share This Page