Results 1 to 2 of 2
I have an ubuntu lamp server with proftpd installed. I am able to change the default root to different directories like my data or www directory . But is there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-19-2009 #1
- Join Date
- Oct 2009
- Ames Iowa
Access multiple directories with ftp
- 11-30-2009 #2
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