Wordpress Permissions for LAMP (Ubuntu)
Change to root folder for website.
Run these commands:
find -type d -exec chmod 755 {} \;
find -type f -exec chmod 664 {} \;
chmod 770 -R wp-content/uploads
chmod 770 -R w-content/upgrade
chmod 750 wp-content/plugins
*Note: If you find that you are getting errors, try running sudo …