1
Apologies if this problem has been answered before / elsewhere. I've had a hunt around but am unable to find anything. If so please point me in the right direction.
I'm running a linux ftp server (UB10) with ssh and vsftp. I have a group of users who are chrooted to a directory (/files). Each user needs access to at least one subdirectory within - user 1 has access to /files/1, user 2 has access to /files/2, user 3 to /files/3.
I want to add a 4th user who has access to both /files/1 and /files/2 but is unable to see /files/3. I have the 4th user able to access only subdirectories 1 & 2, however, directory 3 is still visible.
Is there a way to not show /files/3 to user 4?
In actuality there are more than 4 users and more than 3 directories and each user needs access to a variety of combinations so simply moving the directory outside of the chroot and creating another group isn't the best solution.
Thanks,
Alex.
vsftp isn't an ssh or sftp server. How is ssh involved here? – Kenster – 2014-12-10T15:43:32.457