cPanel account user can't write
I just ran EasyApache to update Apache and PHP on our server. After doing so, cPanel account sites are not able to write to the site folders. For example, if I have a cPanel account with the username "xyz" the website should be able to write to that home directory public_html folder with files chowned to xyz -- but are not able to. If I set a folder to chmod 777, new files written by the site are chowned to nobody:nobody.
So somehow the EasyApache updates affected account owner defaults. How can I fix this?
-
Hello, Do you know which PHP handler (e.g. suPHP) you were using before, and if it has changed? Are you using EasyApache 3, or EasyApache 4? Thank you. 0 -
EasyApache 3 suPHP -- didn't change it 0 -
Hello, Could you let us know the specific error message you notice in /usr/local/apache/logs/error_log when encountering this issue? Thank you. 0 -
If I try to do something that would write to the site directory (create cache files, upload a file, etc.) from within the site (running WordPress), I get Permission denied messages in the error log. Basically the web user (account user name) can't write to the site folder. the web user is now "nobody" 0 -
Hello, Could you let us know the exact error message that appears in /usr/local/apache/logs/error_log when this happens? Thank you. 0 -
failed to open stream: Permission denied in... (folder path) 0 -
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
ticket #8243271 0 -
ticket #8243271
Hello, To update, it looks like suPHP was disabled. Switching back to suPHP corrected the issue. Thank you.0
Please sign in to leave a comment.
Comments
9 comments