Skip to main content

cPanel update resets some permissions

Comments

4 comments

  • trucmuche
    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)...
    0
  • vanessa
    Generally speaking, the document root for a domain should be user:nobody 750. I'm not sure why you'd need 751, but on a selective basis I suppose you could write a post script hook for upcp to set those domains back to 751 after cPanel updates.
    0
  • trucmuche
    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 ?
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.