-
October 31st, 2003, 02:21 PM
#1
Junior Member
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?
-
October 31st, 2003, 04:39 PM
#2
Junior Member
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
-
Forum Rules
|
|