Koozali.org: home of the SME Server

ftp can't follow sysmobic links!

pbearne

ftp can't follow sysmobic links!
« on: December 03, 2004, 11:47:32 AM »
hi

I have an Ibay which I am using to backup from a remote site with ftp.

Inorder to create enough space I have a hard drive mounted /mnt/backupdisk and an sysmolic link (ls -s /mnt/backupdick/backup .../ibays/backup) for the whole Ibay

But when I try to conect to this with Ftp I can't follow the link! It works in windows expoler.

Can this be fixed and How?

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
ftp can't follow sysmobic links!
« Reply #1 on: December 03, 2004, 01:09:34 PM »
Hi Paul,

Using chroot?
...symlinks that point outside the new root (the ftp user’s home directory ) will not work ...

Look into the proftpd mini how to:
http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-Chroot.html
or the manual
http://proftpd.linux.co.uk/localsite/Userguide/linked/userguide.html

Solution just chroot ftp-users to your big disk!

Regards
Reinhold
............

pbearne

can I have more than one root?
« Reply #2 on: December 03, 2004, 01:35:31 PM »
Hi

OK i see that with chroot I can change the ftp root folder

So if I change the root to /mnt/bigdisk will this break all the ibays?

so do I have to change where I mount the hard drive?

or if I chroot to the root / work or will ?