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!

files created by script always 'nobody' as owner?

Discussion in 'General Discussion' started by jacksony, Dec 6, 2005.

  1. jacksony

    jacksony Well-Known Member

    Nov 30, 2005
    Likes Received:
    Trophy Points:
    Help! all my files/folders created from my PHP scripts are always assigned to 'nobody' instead of the user of the account it is installed into, as a result the scripts installed this way can't be run properly.

    Can anyone please enlighten me? Thank you very much! urgent help if you could email me at

    Thank you!
  2. webignition

    webignition Well-Known Member

    Jan 22, 2005
    Likes Received:
    Trophy Points:
    That will be because PHP is running as the user 'nobody'.

    Enabling phpsuexec will cause PHP to run as the appropriate user and from then onwards all files created by PHP scripts will have the ownership that you would expect.

    Try searching the forums for 'phpsuexec' to find out more about it and how to enable it.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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