Report this

What is the reason for this report?

WordPress plugin unable to write to folder

Posted on September 1, 2014

I set up WordPress on a Ubuntu server and used this tutorial to add extra security https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

I’m having a hard time with some plugins saying they can’t write to folders. I’m trying to install a backup plugin and it says it can’t write to the backups folder even though it is showing as 755.

Here’s what I have for ownership - I think I may have my owners and groups in a muddle.

Can anyone help me make sure they are set up properly?

/var/www/html/wp-content/backups$ ls -alh drwxr-sr-x 2 wp-user www-data 4.0K Aug 9 11:42 . drwxr-xr-x 12 wp-user wp-user 4.0K Aug 30 08:35 … -rw-rw-r-- 1 wp-user wp-user 28 Mar 16 04:01 index.php



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.

Thank you so much - that first chown command has done the trick :)

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.