I am setting up an FTP server and initially jailed all users in their home directory by using:
This behaviour causes the users to see only the contents of their home directories and nothing above it. For ex : When using a client such as filezilla and user as testuser, the testuser directory shows up as
/ incoming/ outgoing/
However I want to see if theres any way to allow users to 'see' the directories above it but not allowing them to list its contents, creating, deleting any files or directories . So using filezilla for testuser would be like:
/ /home/ testuser/ dir1/ dir2/
The only reason being is that currently we have automated pipelines that use the full path to get files i.e.
/home/testuser/dir/file.txt which fails on my current config since users cannot see anything above their home directory.
Any help will be greatly appreciated