file and folders permissions change after update easyapache

Zurrie

Member
Oct 31, 2004
21
0
151
cPanel Access Level
Root Administrator
Hello,

did you have any experience all files will change chmod to 664 and folders change to 775

after doing change configuration at easyapache 4

  • CENTOS 7.3 x86_64 standard

  • WHM 60.0 (build 28
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
did you have any experience all files will change chmod to 664 and folders change to 775

after doing change configuration at easyapache 4
Hello,

The conversion to EasyApache 4 should not modify file permissions to 0664 or directory permissions to 0775. Could you provide an example of a file or directory path that was modified?

Thank you.
 

TechRat

Registered
Nov 14, 2019
1
0
1
Arizona
cPanel Access Level
Root Administrator
Hello, I ran into a similar issue to this recently and it took me awhile to identify what is going on. I am not sure that this is the same issue you had but the problem i had and more may also have is that:
By default EasyApache4 turns on FileProtect The EasyApache 4 FileProtect Option - EasyApache 4 - cPanel Documentation
Which sets permissions for directories in public_html to 0750 (not exactly what you are seeing) so that only the owning user, root, and apache can view its contents.

When you disable this feature it sets all directories to 0755. It runs anytime there is a package update making it harder to troubleshoot as the times are random.

Again this is only what i had been seeing on my own setup and i am posting it so that users are aware its a thing and to look at that option just in case.