Permission problems running WordPress on Nginx
I recently set up a new droplet using the “LEMP on 14.04” stack on DO, and I’m experiencing some issues with permissions for when uploading images or updating plugins in the WordPress admin. I figure this has to do with ownership of the folders. The plugins and uploads folders are currently set to 755. I have one user and group on the server, both named root. How would I easily solve this - adding a secondary group / user and then granting new ownership of the folder?
Setting any of the folders to 777 makes everything work but I don’t want that for security reasons.