Enable WordPress Automatic Update
Are you seeing that nasty FTP page when trying to do an Automatic Update from within WordPress? I create new blogs frequently enough that this is a constant pain, but rare enough that I never remember how to do it.
Updating WordPress tells you how to identify the correct user:
If you do not know which user runs the httpd the output of
ps auxw | grep -E 'http|apache|www'
And thanks to Greg in the comments over at Linode’s Manage Web Content with WordPress page for the succinct description:
To make wordpress updates and plugin installs function properly, you need to set the entire public directory structure to www-data ownership, like so:
chown -R www-data:www-data ..../yoursite.com/wordpress