I have a server which has all of its users under their own user:group for example the user somename has a folder /home/somename and is chowned somename:somename.
Now, it seems that this user has a problem updating their Wordpress from the web and it keeps on asking for FTP details. I've traced the issue into the fact that www-data doesn't have access to the users files.
http://ardeearam.com/solved-wordpress-asking-for-ftp-credentials-when-upgrading/ ...sudo chown -R www-data wordpress/...
How do I allow or add www-data into somename privileges?