Subject: Symbolic links again

From: "Javier Puche" <[email-masked]>
Date: Tue, 17 Oct 1995 08:27:46 +0200

Hello Everyone,

 Last week I send a message asking if someone knew how to make the ftp
behave as a bash when traversing symlinks. Not really doing the chdir
but keeping somehow the value of the current dir.

 The thing is that if you have a directory /mirror/linux and a symbolic
link to that one in /pub/os/linux. Being in /pub/os and doing a 'cd
linux' and then a 'cd ..' leaves you in /mirror instead of /pub/os. I
think some sites achieve this behaviour but I have not idea ( after
trying everything it came to my mind ) of how to do it.

 I would appreciate a lot anyone giving me any hint of how to do it or
where to find more information about it.

Thanks in advance,
-- 
_______________________    __    ___________________________________
                          /_/                     
Javier Puche       __            __   Email: [email-masked]
RedIRIS/CSIC      /_/  RedIRIS  /_/          Tel:    + 34 1 5854977
Serrano 142              __                  Fax:    + 34 1 5855146
E-28006  Madrid         /_/                Information Systems 
SPAIN                                    Sistemas de Informacion     
_________ Spanish Academic & Research Network _____________________

---

From: Vincent Cojot <[email-masked]>
Date: Tue, 17 Oct 1995 07:31:49 -0400 (EDT)

> where to find more information about it.

I did this on my local workstation (linux 1.3.32 + wu-ftpd 2.4.2b5 soon 
b6. :) ) by exporting through NFS /dose/images and then re-mounting by under 
/home/ftp/pub/images. It works fine, you could try that.

make sure you are running nfsd and mountd and put this in your /etc/exports:

/mirror/linux	localhost(ro)

then put this in your /etc/fstab (if it's what your OS use):

localhost:/mirror/linux /home/ftp/pub/os/linux

(this assumes dir /home/ftp/pub/os/linux already exists).

Vincent, [email-masked]