How to fix ‘Some files are not writable by WordPress’ error, website cannot be changed by admin

Solution:

Apart from permissions you have to change the Owner of the Files to the web server user ( most cases, especially those using apache www-data ) .

The command to do that is the below

$ sudo chown -R www-data:www-data /path/to/wordpress/
the usual path of a website on a ubuntu server is /var/www/domain.com/ but of course that depends !

Wish you the best!