Prevent Wordpress on localhost to ask for FTP credentials
In my local wordpress install on ubuntu (12.10), wordpress was always asking for FTP credentials (and not on my windows 7 box) when installing a plugin or updating wordpress from the Dashboard. Here are the steps that works for me to fix that:
cd /var/www sudo chown -R www-data:www-data wordpress