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:
chown -R www-data:www-data folder-name
Written by Stephen Moon
email: stephen at logicalmoon.com