Permissions working but not working


Not sure what I changed in my WordPress some days ago but today I was not able to update/install any plugin. I followed and applied the following permissions:

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

Now I CAN update and install plugins but:
– It takes longer, roughly twice as much time than some days ago (before it broke).
– It tells me the install/update was unsuccesful even though it did it!

The update cannot be installed because we were unable to copy some files. This is usually due to inconsistent file permissions.

Of course, it is not that bad, but I would like to have it as it should be, not with such a result.
Any idea?

, , Adrian Infante 2 years 2019-12-24T08:18:37-05:00 0 Answers 106 views 0

Leave an answer