I went to install a plugin on a newly created WordPress site and rather than just do it, suddenly a screen appeared asking for FTP credentials. I had never seen this before and was a little surprised. Why would it be so different?
The problem? I had forgotten to change the ownership of the folder in which the WordPress site sat. Being still owned by root, it no longer had permission to make changes.
The solution? A quick:
1 |
chown -R www-data:www-data folder-name |
as root.






Written by Stephen Moon
email: stephen at logicalmoon.com
www: https://www.logicalmoon.com