MultiPHP The system failed to release the lock on the file
Hello, I'm getting an error when trying to apply php changes in Multi PHP Manager.
It seems to be a permissions issue.
The system failed to release the lock on the file "[REMOVED].htaccess" because of an error: Permission denied at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 389.
Here's the permissions of the current directory and the .htaccess:
drwxr-xr-x. 2 wwwrun wwwrun 16384 Jul 15 13:26 .
-rw-r--r--. 1 wwwrun wwwrun 0 Jul 15 13:26 .htaccess
I've tried deleting the file outright so it could be recreated. I also tried setting permissions to 777 for it, but MultiPHP just hangs after applying.
Changing ownership to "nobody" causes this error:
The system failed to set the permissions on one or more inodes to "0644" (as EUID: 1000, EGID: 1002 1002) because of the following error: Permission denied
And assistance would be appreciated.
-
Can you provide the output of: lsattr .htaccess
make sure you run that in the directory where the .htaccess resides0 -
lsattr: Inappropriate ioctl for device While reading flags on .htaccess This particular folder is on NFS. 0 -
Ah that's probably why, definitely a good thing to note in your original post ;) cPanel doesn't support NFS so not sure how much help you'll get even if its a bug within a cPanel script. Just as a test, are you able to delete the .htaccess using File Manager? Just curious. 0 -
This particular folder is on NFS.
Hello, While network-based filesystems are often configured for backup purposes, we actually don't support it for home directories. This is mentioned under the . Some network filesystems (for example, NFS) may require additional configuration in order to function properly. However, these configurations are difficult to implement successfully and we do not support them.
Thank you.0
Please sign in to leave a comment.
Comments
4 comments