Why do the permissions on my public_html folder keep getting reverted after cPanel updates?
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 with GroupID
If File Protect is disabled:
All sites' document root directories will be set to
Please note that disabling File Protect does not prevent file permissions from being changed.
More information about File Protect may be found in our documentation linked below.
Additional articles regarding File Protect: