By jeffdewit
If I create a droplet with Wordpress, how can I add multiple sftp users that can upload to the website? If I follow any of the tutorials about VSFTP, SFTP or Apache, I end up with users who can upload files to the website, but those files are not readable by the apache user.
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!
Hey friend!
That is a great question. I’m thinking add each user to the www-data group, and make sure the uploaded files have permissions set so that group members can read/write. In my head this seems like a good idea, a grain of salt for the differences between my brain and reality.
A couple of reference documents: https://www.cyberciti.biz/faq/howto-linux-add-user-to-group/ https://chmod-calculator.com/
Jarland
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.