Skip to main content

Permissions and Ownerships issues

Comments

5 comments

  • SysSachin
    Hello, 644 is correct file permission and it should be always 644.
    0
  • cPanelMichael
    Hello, cPanel will automatically assign the correct group ownership values to the public_html directories (e.g. it checks Mod_Ruid2/MPM-ITK and FileProtect settings). 0644 permissions for files and 0755 permissions for directories are correct, and the recommended permission values for files and directories. Thank you.
    0
  • WorkinOnIt
    Ok thank you - but why are new accounts being created with ownership of public_html as user:user? I am creating them manually as root login. Should they not be user:nobody? In addition, the /public_html is being given 755 also and I thought it should be 750. What could be causing that?
    0
  • WorkinOnIt
    Just to update this thread - I opened a support ticket and the reply was very helpful; The behavior you're describing would be default behavior for cPanel 60 with EasyApache 4. If you wish to have the public_html directories be created with 750 permissions then you'll need to enable FileProtect:
    0
  • cPanelMichael
    Hello, I'm happy to see the information helped! Thank you for updating this thread with the outcome.
    0

Please sign in to leave a comment.