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.

apache writing files as nobody.nobody

Discussion in 'CloudLinux' started by bpratt, Oct 2, 2016.

Tags:
  1. bpratt

    bpratt Registered

    Joined:
    Mar 14, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just set up a new server and migrated sites across, but apache doesn't appear to be taking on user.user permissions, and simply using nobody.nobody

    As an example, a joomla configuration.php with user.user rw------ permisions fails to open until I make group and other permissions to read and write

    I'm using cloudlinux and cagefs for the first time here, and wondering if I've screwed something up with it.
     
  2. bpratt

    bpratt Registered

    Joined:
    Mar 14, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I should add here that all sites migrated across, and were given appropriate file ownership as per the user account name.

    This appears to be apache is not running in suphp properly, as in it is still running as user nobody.nobody instead of as the user klema.klema
     
  3. Bazinga

    Bazinga Active Member

    Joined:
    Aug 23, 2016
    Messages:
    26
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    Ukraine
    cPanel Access Level:
    Website Owner
    What PHP handler do you use? Can you show "/usr/local/cpanel/bin/rebuild_phpconf --current" ?

    As well:
    httpd -M | grep suex

    If you see DSO there just change to suphp or cgi.

    And, if you use EasyApache 4 - please be sure suexec module is installed and loaded into apache.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page