Nic*_*Res 4 permissions wordpress plugins file-permissions plesk
我正在尝试更新客户端站点上的插件,我收到多个插件的错误.他正在使用plesk.
Downloading update from https://downloads.wordpress.org/plugin/awesometastic.131026.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin update failed.
An error occurred while updating Awesometastic Plugin: Could not remove the old plugin.
Run Code Online (Sandbox Code Playgroud)
我确定它与目录权限有关,但是,有人可以向我解释可能存在的问题以及如何解决这个问题?
谢谢!
Geo*_*rge 13
这是一个权限问题.在SSH上运行:
chmod -R 0755 /var/www/<yourpathtowordpress>/wp-content/plugins
chown -R www-data /var/www/<yourpathtowordpress>/wp-content/plugins
Run Code Online (Sandbox Code Playgroud)
第一个授予写入权限,而第二个确保正确设置需要权限的用户