OK… I have 2 users for my droplet root (unused) user (user with all privileges, obviously not the real name)
However, I chowned wp-content/uploads to user and chmodded it to 775
Wordpress is unable to uplaod anything unless I change permissions to 777
Any pointers?
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!
This comment has been deleted
sudo chown -R www-data:www-data /var/www
worked perfectly fine for us on our website http://www.reckontalk.com
Wordpress most likely runs as the user “www-data”, so you will need to allow it to write to wp-content/uploads.
Since the directory already allows the members of the group that owns it to write to it (775), you just need to change its group ownership to the www-data group:
sudo chgrp www-data wp-content/uploads
Make sure you apply it recursively so that it can write to its subdirectories as well:
sudo chgrp -R www-data wp-content/uploads
sudo chmod -R g+w wp-content/uploads
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.