Skip to main content

Why does 'nobody' have to be the public_html group?

Comments

5 comments

  • cPanelMichael
    Hello, The group owner depends on the PHP handler and if Apache File Protect is enabled. Could you verify which PHP handler is configured for the version of PHP assigned to the account, and whether Mod_Ruid2 is enabled? Thank you.
    0
  • ItsMattSon
    Hi cPanelMichael, I'm using SuPHP as handler and also running PHP-FPM so I'm not sure what scripts will run as in that scenario haha. Assuming still the account? I've decided I don't need to adjust the setup after all so no need to invest time in this thread anymore :) Curious though as to why nobody is the group for public_html rather than the account name (like all the files/sub dirs)?
    0
  • cPanelMichael
    Hello, Nobody is utilized as the group owner when Apache doesn't run as the account username and FileProtect is enabled. There's another thread about FileProtect you may find helpful at: Please provide more info about EasyApache FileProtect feature Thanks!
    0
  • ItsMattSon
    Hi @cPanelMichael, That was helpful - Thanks. Noticed in the documentation for FileProtect that it is enabled by default on Basic, Mod Ruid2 and MPM ITK but I actually chose mod_mpm_worker for reasons I forget now. All account public_html directories definitely have group as nobody though so I am wondering if it's enabled by default for mod_mpm_worker as well? Rather than run the script to enable it, is there a quick and easy way to check it's enabled by command line or in WHM? Thanks in advance!
    0

Please sign in to leave a comment.