You are trying to Update WordPress CMS, Themes and Plugins to the latest Version on Ubuntu 13.04 Web Server, and you encounter an error messages similar to the following:
- To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.
- Could not create directory. wp-content/upgrade/xxx.tmp
- removing the old version of the plugin… could not remove the old plugin. plugin update failed.
- an error occurred while updating twenty eleven: could not remove the old theme..
- The list goes on …etc
Resolution that worked for me:
You need to set the proper filesystem privileges:
Access your Ubuntu 13.04 Web server through SSH and then run this command:
#chown -R www-data:www-data /var/www
Thats all! Use this, at your own risk.