Date: Sun, 20 Dec 1998 10:15:01 +0800 From: Dean Hollister <dean@mushka.ml.org> To: Greg Lehey <grog@lemis.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: FTP: Following symlinks Message-ID: <3.0.3.32.19981220101501.007b0540@wa.apana.org.au> In-Reply-To: <19981219140324.E24125@freebie.lemis.com> References: <Pine.BSF.4.05.9812191120370.22540-100000@odyssey.apana.org.au> <19981219134523.C24125@freebie.lemis.com> <Pine.BSF.4.05.9812191120370.22540-100000@odyssey.apana.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
At 14:03 19/12/98 +1030, Greg Lehey wrote: >You mean in a chroot environment? Sure, it's only absolute symlinks >that won't work. In a symlink environment, try this: > >- ftp spool directory /var/spool/ftp >- file /var/spool/ftp/pub/myarchive.tgz > > # cd /var/spool/ftp/pub > # ln -s /var/spool/ftp/pub/myarchive.tgz yourarchive.tar.gz > # ln -s myarchive.tgz hisarchive.tar.gz > >You'll be able to acess hisarchive.tar.gz via anonymous ftp, because >it doesn't mess around with the name of the directory. You won't be >able to access yourarchive.tar.GM. Hmmm. I found it easier to just mount the other filesystem as part of the /var/ftp directory structure. Problem solvered. Thanks anyway... Regards, d. 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?3.0.3.32.19981220101501.007b0540>