Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2009
- Ames Iowa
Access multiple directories with ftp
I assume you are chrooting the user and that is why the symbolic link is not working.
Symbolics links that point outside the chrooted environment don't work because a symbolic link simply points to the location of the file.
The easiest way to fix this would require you to mount the 2nd directory inside a sub-directory of the first one. For example:
The 2 directories you want to access:
mkdir /home/user/www mount --bind /var/www /home/user/www
mkdir /home/user/data/www mount --bind /var/www /home/user/data/www