How can I easily setup and maintain multiple user accounts who need access to the web directory used by Apache?

This single directory (with subdirectories) contains sample files for users to download and they are maintained by a handful of users who should have r/w access and the ability to create folders and overwrite eachother’s files.

They should not have access beyond their ability to manage these files as described above. These users know how to use FTP that shouldn’t be an issue.

What is the best way to set this up?

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.

×
1 answer

There are a couple ways to configure an FTP server like vsftpd to restrict users to a directory (and it’s subdirectories) that you select. This guide will help you in installing vsftpd and this answer on StackExchange provides two good examples on the methods for setting up the directory restriction (chroot).

There is also a link at the top of the first tutorial to a guide on securing vsftpd with SSL/TLS encryption. As FTP is an inherently insecure protocol by default this is recommended.

by Etel Sverdlov
Vsftpd is a fast and secure FTP server. Installing an FTP server can assist you with uploading files to your droplet. This tutorial describes how to install and set up vsftpd on Ubuntu 12.04.
Submit an Answer