I spun up a new droplet right before the weekend and have been working on setting it up properly for my very small team. I’ve read a multitude of posts on StackOverflow and ServerFault about how to properly configure the “/etc/www/html” folder permissions.
I can get what seems like proper permissions for my own user, however when I try to log in to another user, they get permission denied regardless if we’re in the same group or not.
What I’m aiming at is properly securing the /etc/www/html folder without breaking anything for the www-data user (I’ll manually chmod any folder it needs write access to for uploads and such) and giving the group “webmasters” read/write access on “/etc/www/html” so that they can work in it. (Editing files, uploading, etc.)
Can anyone help me out?
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!