[CentOS] Problen with vsftpd and chroot

Tony Molloy

tony.molloy at ul.ie
Fri Jan 5 11:46:31 UTC 2007


I'm setting up a local mirror server on a CentOS4 box. I want it to serve 
files over http, nfs and ftp.

I've set this up with the mirrored directories on a separate partition. 
I've got the http and nfs working but am having some trouble with ftp.

I'm using vsftpd as the ftp server. I can log in to the ftp server and get 
to the pub (/var/ftp/pub) directory. However when I try and go to the 
mirrored directories below this I get a "can't change directory error. 
The mirrored directories is a symbolic link to the actual directories on 
the separate partition.

So my question is is vsftpd chrooted to the /var/ftp directory by default 
and won't follow symbolic links and if so is there any way to change this 
behaviour.

I can change the mount points if I need to but I was just wondering.

Thanks,

Tony


-- 


Tony Molloy.

System Manager. 
Dept. of Comp. Sci.
University of Limerick



More information about the CentOS mailing list