Report this

What is the reason for this report?

Wordpress permission issues using LEMP install on Ubuntu 12.04

Posted on March 24, 2014
rb

By rb

Hi all,

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, <br> <br>I am not, I’m using BackWPup. Regardless of plugin, I’m sure that the process running under the wrong user can cause problems and I’d like to try and fix it anyway if possible.

I should note, the specific error I am getting when trying to do anything is: <br> <br>WARNING: wp-includes/functions.php:1378 - mkdir(): Permission denied

On my installation php5-fpm has ‘www-data’ as the user. Also my htdocs folder belong to the user ‘www-data’ and the permission is set to 755

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.