Follow symlinks in ProFTPdPosted: November 7, 2013
As a normal security precaution you would restrict your FTP users to their home directories with “DefaultRoot ~”.
But then you face a problem – how to follow symlinks to other parts of your file system.
The answer: mount them with the “bind” option!
For example, inside your user’s home directory do this:
- mount –bind /media/sdb2/mydocs/archive /home/username/archive
Of course you have to check and adjust the file permissions as needed after that.