WordPress Permissions Update Error – How to Fix

If you’re running into the WordPress core upgrade failure or plugins/themes update issues when you try to update/upgrade via the admin interface, all you need to do is reset the file permissions on the core files and the problem will most likely be fixed and you’ll be able to process with the update.

Provided you have SSH access to your server, run the following set of commands and this will likely fix your issue.

Reset all file permissions  664:

 find /path/to/site/ -type f -exec chmod 664 {} \;

Reset all directory permissions to 775:

 find /path/to/site/ -type d -exec chmod 775 {} \;

Reset the group ownership to the wordpress or www-data group (or whatever your nginx/apache group name is):

 chgrp -R wordpress /path/to/wodpress_site_directory/

After you run these commands you should be able to successfully update WordPress code, plugins and themes with no issues.

Leave a Reply

Your email address will not be published. Required fields are marked *