I'm having trouble finding the correct permissions for running a WordPress site on my droplet. I followed this guide to configure the site: How To Configure Secure Updates and Installations in WordPress on Ubuntu
Configuration is as follows:
- Ubuntu 14.04, nginx 1.4.6
- nginx user is
www-data
/var/www/*
is owned bywp-user:wp-user
- Directories are set to
755
and files to644
(WordPress docs)
Secure updates and theme/plugin installations work as expected, but I receive the following error when attempting to upload new media through the web interface: Unable to create directory wp-content/uploads/2014/11. Is its parent directory writable by the server?
Any thoughts on how I can configure owners/permissions to allow this (while maintaining security)?
php5-fpm
service and all is well. Thank you!