From owner-freebsd-questions Sat Dec 19 18:15:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA20061 for freebsd-questions-outgoing; Sat, 19 Dec 1998 18:15:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA20044 for ; Sat, 19 Dec 1998 18:15:22 -0800 (PST) (envelope-from dean@mushka.ml.org) Received: from mushka (mushka.ml.org [203.11.114.10]) by odyssey.apana.org.au (8.8.8/8.8.8) with SMTP id KAA23422; Sun, 20 Dec 1998 10:15:02 +0800 (WST) (envelope-from dean@mushka.ml.org) Message-Id: <3.0.3.32.19981220101501.007b0540@wa.apana.org.au> X-Sender: dean@wa.apana.org.au X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.3 (32) Date: Sun, 20 Dec 1998 10:15:01 +0800 To: Greg Lehey From: Dean Hollister Subject: Re: FTP: Following symlinks Cc: FreeBSD Questions In-Reply-To: <19981219140324.E24125@freebie.lemis.com> References: <19981219134523.C24125@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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