WordPress Plugin/Theme Updates on Gentoo

Default WordPress installation on Gentoo does not allow any updates. If you want to allow plugin and theme updates but otherwise want to update WordPress using Gentoo ebuilds then you have to change user access right on file wp-admin/includes/file.php in your installation to the same user as the one owning wp-content/plugins directory. The reason for this is that there is a check in the file that checks whether the owner of the file.php file same as the owner of the update directories. You have to do this each time you update your WordPress installation in your website using webapp-config.

I don’t know if it is the original intention of the www-apps/wordpress ebuild author or it changed along the way in the WordPress code, but this is how it is at the time of writing.

Of course you have to allow access for your PHP user running your website to WordPress servers in case you have restricted firewall.

You should also keep your WordPress installation updated to the latest version because of security issues of the application. You can check latest vulnerabilities at WPScan Vulnerability Database.

Tags: ,