View Single Post
Old 11-27-2005, 08:39 AM   #2 (permalink)
taylor
Junior Member
 
Join Date: Aug 2005
Posts: 28
Default

Hi -
If your "jail" is done with chroot, then that's why the symlink doesn't work -- when the root directory of the FTP server process ends up being that user's home directory, so a symlink to /home/shared ends up not pointing at any existing file or directory thus the error.

You can bind-mount the same directory into multiple places --

mount --bind /home/shared /home/user1
mount --bind /home/shared /home/user2
mount --bind /home/shared /home/user3

It works like a hardlink to a directory. regards
taylor is offline   Reply With Quote
Sponsored Links