Date: Tue, 24 Oct 2000 23:51:26 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: John.Place@rrd.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Anonymous FTP and Symlinks Message-ID: <20001024235125.B6932@hades.hell.gr> In-Reply-To: <OFB4EDC828.FAEEBED6-ON86256982.00644C22@rrd.com>; from John.Place@rrd.com on Tue, Oct 24, 2000 at 01:20:33PM -0500 References: <OFB4EDC828.FAEEBED6-ON86256982.00644C22@rrd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 24, 2000 at 01:20:33PM -0500, John.Place@rrd.com wrote: > I am changing platforms for an _INTERNAL_ ftp server (to freebsd of corse). > The old platform (QNX) allowed me to set symlinks and they would be > followed. FreeBSD will not. I realize that this is because of > security purposes that it is like this but I am trying to make a > seemless change of platforms and some users will have a problem with > this. Is there a way I can force ftpd to honor symlinks? I think that it's not possible. This is because ftpd (the one included with FreeBSD and some of the others that I know of), will call chroot() and change their `/' directory to the home of the "ftp" user when anonymous ftp is used. To allow following symlinks under the new `/' directory after one has chroot'ed in it would be like making it easy to set up `exit points' from the chrooted environment. I am not sure why someone would want to do this. But why don't you just copy/move your data in the proper location under the home of the ftp user and let ftpd access them without a symlink? -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001024235125.B6932>