October 31st, 2003, 01:21 PM
ProFTPD Virtual Directories
As the name of the thread implies, I am trying to setup a virtual directory in ProFTPD. I have the basics completed (ie. designated home directories for validated users), but I can't seem to figure out how to allow access to a directory that is not in the users' home path.
User logs in as Foo
Home directory is /home/Foo
I want to allow access to /home/Bar to the user Foo via FTP.
October 31st, 2003, 03:39 PM
After several hours of research, I finally found a solution. I figured I would share it with you, just in case someone else faces a similar challenge.
Unfortunately, if you are using DefaultRoot, you can't use Symlinks to create a virtual directory with ProFTPD. Instead, you have to mount the shared directory to the new directory by doing the following command:
mount --bind /shared/directory/here /user/directory/here
This has worked flawlessly for me under SuSE Linux 8.2, to allow shared folder access to specific accounts.