trucmuche

Well-Known Member
Nov 20, 2014
93
4
58
cPanel Access Level
Root Administrator
Hello,

Last days, I opened a ticket because I had a problem with a script that was correctly working but stopped working suddenly. I suspected this happened near a WHM update. I opened a ticket to get help with my problem and it appears that it was caused because a directory like /home/anaccount/subdomain.domain.com had permission 0750 and I needed 0751 for my use. So the support made a "chmod +x /home/anaccount/subdomain.domain.com" and my problem was solved... until today !

Today, I saw that I had the same problem and, of course, I immediately checked the permissions and I saw that /home/anaccount/subdomain.domain.com was again 0750 !!
And I saw that the WHM update to 68.0.18 has been done this night (automatically) !!

So I can say that the WHM update has reset the permissions of /home/anaccount/subdomain.domain.com to 0750.

Is that a bug or a feature ??? Should I open a ticket for that ?

Because if it is a "feature", I will have to check very often if some folders have the right permissions in order that the server users don't get bugs...

Or maybe you would have another solution ??

Many thanks in advance for your help !!

T.
 
Last edited:

trucmuche

Well-Known Member
Nov 20, 2014
93
4
58
cPanel Access Level
Root Administrator
ok I opened a ticket and It was related to fileProtect module. We had to desactivate it.
It's sad that all domains have to "pay" for one of them who needs a small "extra-liberty"...
It would be nice to be able to desactivate fileProtect selectively (for some domains and not others)...
 

trucmuche

Well-Known Member
Nov 20, 2014
93
4
58
cPanel Access Level
Root Administrator
I had to set "chmod +x /home/anaccount/subdomain.domain.com/subfolder " to allow MySQL to write the result of a "SELECT... INTO OUTFILE" query to the "subfolder" folder. I did no permission modifications on it's parent folders...
And the update had reset the permission on that subfolder to 0750...
Is there a best way to do allow MySQL to write in that subfolder without altering subfolder permissions ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
ok I opened a ticket and It was related to fileProtect module. We had to desactivate it.
Hello,

For anyone else browsing this thread with the same question, note the referenced option is "Enable File Protect" and is found under the "Security" tab in "WHM >> Tweak Settings".

Thank you.