Set up LAMP server with FTP users

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.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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: