Wordpress Server权限有效但不起作用

时间:2019-12-25 11:03:54

标签: wordpress apache permissions

不确定几天前我在Wordpress中做了什么更改,但是今天我无法更新/安装任何插件。我遵循了https://community.bitnami.com/t/wordpress-permissions-unable-to-create-directory/42048/3并应用了以下权限:

sudo find ~/apps/wordpress/htdocs/ -type f -exec chmod 644 {} \;
sudo find ~/apps/wordpress/htdocs/ -type d -exec chmod 755 {} \;

sudo chmod 750 ~/apps/wordpress/htdocs/wp-config.php
sudo find ~/apps/wordpress/htdocs/wp-content -type d -exec chmod 775 {} \;
sudo find ~/apps/wordpress/htdocs/wp-content -type f -exec chmod 664 {} \;
sudo chmod 750 ~/apps/wordpress/htdocs

sudo chown -R bitnami:daemon ~/apps/wordpress/htdocs
sudo chown -R bitnami:daemon ~/apps/wordpress/htdocs/wp-content/plugins
sudo chown -R bitnami:bitnami ~/apps/wordpress/htdocs/wp-content/upgrade
sudo chown -R daemon:daemon ~/apps/wordpress/htdocs/wp-content/uploads

现在我可以更新和安装插件了,但是:
-它花费的时间更长,大约是几天前(破裂前)的两倍。
-它告诉我即使安装/更新也没有成功!

  

无法安装此更新,因为我们无法复制某些文件。这通常是由于文件权限不一致造成的。

当然,它还不错,但我想按原样拥有它,而不会产生这样的结果。
有想法吗?

0 个答案:

没有答案
相关问题