You are not logged in.
I'm running a server for a number of groups of people. They are served different collections of files spread over different directories. (for clarity: they are served entire directories, not selections from larger directories) There is overlap between the directories served to the different groups, and some have write permissions in some directories while others don't. The directories are not conveniently ordered in a useful tree structure on the machine. Duplicating directories on disk is not an option due to size and number of client sets.
So far, I've been using Filezilla Server on Windows, which allows me to assign virtual file systems to the virtual users logging into the (S)FTP server, allowing them to interact with only the resources I want to make available in a structured and simple manner, without being able to see any other content in the file system.
I'm switching the server over from its old Windows machine to a nice brand spanking new Arch machine. So far, I haven't found any way to achieve the same way to serve virtual users with their own virtual file system. From what I understand, the usual FTP server software on Linux gives a virtual user an entry point into the actual file system of the computer, and I don't know how to make it work; if only Filezilla had a server on linux, I'd have been set. As it is, I'm keen to find a way to achieve the same results the Linux way, but as a Linux novice, I'm out of my depth.
RTFM-style responses are welcomed if they contain some pointer to where in which FM I should R.
Last edited by ramcourse (2021-10-28 11:48:22)
Offline
Use bind mounts to set up a different folder containing the relevant sub-folders for each set of users?
Offline
From what I understand of bind mounts, that would just allow the user to climb the tree from the bound mountpoint, right? Can I use bind mounts to make a completely independent tree that doesn't allow escape into the real file system?
Offline
Offline