A WordPress blog I maintain has recently started being unable to update plugins due to a permissions issue. Unfortunately, I don’t know what has changed to cause it. I’ve been trying to work out the correct way to resolve the problem, but my knowledge is sadly lacking.
WHM is configured to use PHP 5 Handler: dso
If I add this into one of my PHP files
echo exec( 'groups' );
The output is nobody
All folders are set to 755 permissions. When I SSL to the server the owner is the FTP owner for all folders under public_html
.
If I type groups
into an SSH window, the user belongs to these groups:
root bin daemon sys adm disk wheel
I keep reading different ways of resolving the problem, but I know enough to be scared by these (for example, change all folders to 777). Should I add the user to the nobody group, change the public_html folder to be owned by nobody etc…? All of these options seem incorrect to me, but I don’t know enough.
A WordPress blog I maintain has recently started being unable to update plugins due to a permissions issue. Unfortunately, I don’t know what has changed to cause it. I’ve been trying to work out the correct way to resolve the problem, but my knowledge is sadly lacking.
WHM is configured to use PHP 5 Handler: dso
If I add this into one of my PHP files
echo exec( ‘groups’ );
The output is nobody
All folders are set to 755 permissions. When I SSL to the server the owner is the FTP owner for all folders under public_html.
If I type groups into an SSH window, the user belongs to these groups:
root bin daemon sys adm disk wheel