Operating System - Linux
1838753 Members
2464 Online
110129 Solutions
New Discussion

Re: Looking for a ftp server

 
SOLVED
Go to solution
Nils_9
Advisor

Looking for a ftp server

Hi there,

I'm running Mandriva 2006. I would like to find a ftp server which allows me to use symoblic links. I could use a patch for ProFTPD but it needs to recompile, and I want to keep the RPM solution for easy updates.

I don't know what of the followings can support symlinks :
pure-ftpd
vsftpd
wu-ftpd

Does someone have an idea?
8 REPLIES 8
Steven E. Protter
Exalted Contributor
Solution

Re: Looking for a ftp server

I'm pretty sure wu-ftpd and vsftpd both support symbolic links.

I just ftp'd to my RH ES 4.0 server with vsftpd and symbolic links ln -s created were followed.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nils_9
Advisor

Re: Looking for a ftp server

Thanks a lot Steven, vsftpd works well, but there is only a little problem. I want to chroot users, but datas I want to be shared are not in their /home directory. When I don't use chroot, symlinks are supported.

I don't want to give access to the entire filesystem, only /mnt/share/ and /mnt/anothermountpoint/anothershare/
Vitaly Karasik_1
Honored Contributor

Re: Looking for a ftp server

If you want to use chrooted environment, IMHO, you have only one solution -

using /usr/share as chroot
using /usr/share/share_data for shared data
using /usr/share/username for each user and put symlinks here
Nils_9
Advisor

Re: Looking for a ftp server

If I understand, it is not possible to have a directory named /usr/share/confidential with datas I don't want to be read.
Vitaly Karasik_1
Honored Contributor

Re: Looking for a ftp server

why not?

you can do it using standart unix file ownership/permission.

For example, if root is owner of /usr/share/confidential and this directory has
drwx------
permission, only root will be able to read it.
Nils_9
Advisor

Re: Looking for a ftp server

Datas are on FAT32 partitions, because of a dual boot XP/Mandriva.

So I will try another solution : I will use Qemu or VMware to install a linux ftp server. Then, I will use Samba to mount shares on the emulated OS. So I will be able to chroot users into /mnt and mount all the datas in /mnt/data, /mnt/otherdatas and so on.

Thanks a lot for your help !
Vitaly Karasik_1
Honored Contributor

Re: Looking for a ftp server

even using Linux ftp server over VMWARE plus Samba is possible and even my suggestion may be offtopic in this forum, I'll suggest you to start MS Win FTP server in this environment.
Nils_9
Advisor

Re: Looking for a ftp server

I prefer using an emulator because I don't have to reboot the computer.