First fix the ownership of the wordpress directory:

Here

is the wordpress installation directory and you can change it to your own installation directory. Same applies to the following two commands.

Second, fix the permissions of all directories and files under the wordpress installation directory:

This solution is from Jeff Reifman and worked for me on my Linux box running Ubuntu 16.04 LTS.

Leave a Reply

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