A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
×Changed your mind?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Wordpress permission issues using LEMP install on Ubuntu 12.04
Posted March 24, 20144k views
I used the tutorial over at https://www.digitalocean.com/community/articles/how-to-install-wordpress-with-nginx-on-ubuntu-12-04 to get a LEMP setup quickly up and running but I'm having troubles updating and using plugins that create files on the server (backup plugins).
The php5-fpm process seems to be running under my user, should it be running using www-data?
Any help would be much appreciated.
Wordpress is a free and open source website and blogging tool that uses php and MySQL. It was created in 2003 and has since then expanded to manage 22% of all the new websites created and has over 20,000 plugins to customize its functionality. This tutorial shows how to install Wordpress on a server with LEMP (with nginx instead of apache). It is written for Ubuntu 12.04.
Thanks for that leoadhemartan, so from what I understood of your reply, I ran:
sudo usermod -a -G www-data www-data
Which I'm assuming sets the ownership to the www-data user, however restarting the php5-fpm shows that my user is still the one running it (as opposed to www-data).