LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vsftp and proftp (https://www.linuxquestions.org/questions/linux-software-2/vsftp-and-proftp-781021/)

johnh10000 01-09-2010 06:02 AM

vsftp and proftp
 
Hi folks, happy new year to you all.

As my hd space is dwindling again! I wanted to use symlinks, in my annon ftp dir. I was running vsftp, but everyone says it can't be done. So I have changed to proftpd.

I link to the annon ftp server on my website. I get the dir listing, with symlinks, but try to follow them I get error 550, it don't exist.

I have read http://www.proftpd.org/docs/howto/Chroot.html, but after following the advice here. I get the same error.

I have not tried the mount bind option, as I want symlinks or hard links either will do.

Could some one give me apointer as to how to do this please.

oh Ubuntu jaunty

janoszen 01-17-2010 11:27 AM

Where do you want the symlinks pointing? The Linux chroot works in a way, that the symlink targets are relative to the chroot, so you might reconsider that.

johnh10000 01-18-2010 02:54 AM

Quote:

Originally Posted by janoszen (Post 3829817)
Where do you want the symlinks pointing? The Linux chroot works in a way, that the symlink targets are relative to the chroot, so you might reconsider that.

Even though I have been using ubuntu for over a year now, there's still plenty to learn. chroot for example in my case.

I got around the problem, by mounting a "spare" drive in the ftp root ie

/home/ftp

now under /home/ftp/space

where I have mounted /dev/sda2 space or whatever it is.

what would have like is:

/home/ftp/pub/symlink->morespace with this pointing to
~/otherdisk/ftp

obviously sda2 would have been mounted at otherdisk, and a ftp dir would have been on it. it showed up, on dir list, but wouldn't change to it.

janoszen 01-18-2010 03:01 AM

Bind mount
 
Do a search for bind mount, it works much like symlinks but works across the chroot boundary.


All times are GMT -5. The time now is 04:22 AM.