Symptoms
Why do the permissions/ownership on my public_html folder keep getting reverted after cPanel updates?
Cause
This is caused by updates to the EA4 packages on the server. When updates to EA4 are made, permissions and ownership for the document roots for sites on the server will be changed according to the File Protect option in Tweak Settings in WHM:
If File Protect is enabled:
All sites' document root directories will be set to 0750 permissions. GroupID nobody will be used if a user switching module (RUID2 or SuExec) is not installed; otherwise, the cPanel account's GroupID will be used.
If File Protect is disabled:
All sites' document root directories will be set to 0755 permissions. The cPanel accounts GroupID will be used regardless of whether a switching module (RUID2 or SuExec) is installed.
Note: Disabling File Protect does not prevent file permissions from being changed.
More information about File Protect may be found in our documentation linked below.
https://docs.cpanel.net/ea4/apache/the-easyapache-4-fileprotect-option/
Resolution
No action is needed. This is normal and expected behavior.
Comments
0 comments
Article is closed for comments.