File manager permission denied
Moving off vps with cpanel to a larger better solution for better use with our sites.
Used the built in transfer tool to transfer our old sites off to new server.
The new machine having an issues with being able to modify/create/delete anything .php related.
Can modify/create/delete .html files fine which is odd.
Using suphp, cause of phpselector. Old vps was using suphp also.
/usr/local/cpanel/logs/error_log of when it happens.
[2016-09-26 03:14:27 -0400] warn [Fileman::savefile] Encountered error in Fileman::savefile: Could not write "/home/myuser/public_html/mydomain/sites/default/settings.php": Permission denied
[2016-09-26 03:16:58 -0400] warn [Fileman::mkfile] Encountered error in Fileman::mkfile: Could not create file "test.php" in /home/myuser/public_html/mydomain/sites/default: Permission denied-
Hello :), Have you checked your folder/file permission with ownership ? if you are using suphp on your server then folder should be 755 and files permission will be 644 with the user:user ownership for all files and folder which are present under the public_html directory of our cPanel user. 0 -
Hello, File Manager doesn't rely on the PHP handler, so it's likely unrelated to that. Instead, it's likely the permission or ownership values on the directories are invalid. Could you let us know the values configured for the "/home/myuser/public_html/mydomain/sites/default" directory and each parent directory? Here's a command you can use for one directory: stat /home/myuser/public_html/mydomain/sites/default
Thank you.0
Please sign in to leave a comment.
Comments
2 comments