ProFTPD Virtual Directories
Results 1 to 2 of 2

Thread: ProFTPD Virtual Directories

  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    18

    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.

    For example:
    User logs in as Foo
    Home directory is /home/Foo
    I want to allow access to /home/Bar to the user Foo via FTP.

    Any ideas?

  2. #2
    Junior Member
    Join Date
    Oct 2003
    Posts
    18
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •