I've recently run into some problems while trying to setup a FTP server a certain way. I have a client who has a LOT of data put into one folder. The client then has various directories by which the data is organized. At the end (of the "directory filter") they have a symbolic link that points to a file in the massive data folder. E.g
In order to replicate and setup a "FTP" server, I simply created a directory called
/lab/data/ and copied all the data on there. I then just copied the symbolic link folder structure.
I then setup vsftpd. Created a local user with a false bin and set that users home directory to
/lab The problem I run into is that when I have
chroot_local_user=YES enabled in the config file, the user is unable to get the file the server gives
550 Failed to open file. why is this the case. The symbolic link is pointing to a file that is in their home directory. However when I have
chroot_local_use=NO the user is able to download the files seamlessly. Is there way to enable the user to get files via symbolic links that are in their home directory while being chroot jailed?
I've been scratching my head over this. Thanks!