From owner-freebsd-questions Thu Oct 24 01:07:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA25128 for questions-outgoing; Thu, 24 Oct 1996 01:07:50 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA24870 for ; Thu, 24 Oct 1996 01:06:15 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id KAA27556; Thu, 24 Oct 1996 10:04:30 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma027551; Thu Oct 24 10:04:14 1996 Message-ID: <326F22DC.7C6@barcode.co.il> Date: Thu, 24 Oct 1996 10:03:40 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: John Scharles CC: freebsd-questions@freebsd.org Subject: Re: Installing 2.1.5 from my ftp site References: <2.2.32.19961024035149.0093ee7c@isle.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John Scharles wrote: > > Thanks to the replies I've gotten I've managed to cobble up a scheme that > works. When I tried to symlink /cdrom under ~ftp/pub/FreeBSD/2.1.5-RELEASE > it wouldn't allow anonymous ftp into that directory (permissions looked okay > but no go....if anyone can tell me how to do this I'd really like anonymous > access to my cdrom from ftp!). What I finally had to do was link > /cdrom/dists to FreeBSD/2.1.5-RELEASE under my home directory and ftp in as > me. I saw nothing about an FTP error flag under the options menu where I > went to change my ftp login, but it worked okay never the less. Symbolic links don't work well for anonymous ftp. For obvious security reasons, anonymous ftp chroot's to the ftp directory. This means it's / becomes what normally is ~ftp. A symbolic link to /cdrom would thus become a link to a cdrom directory under the ftp directory, which is not what you meant. What Doug suggested to do is *mount* the cdrom under the directory ~ftp/whatever. instead of under /cdrom. This would make it visible even after the chroot. > > Thanks to all the wrote! > John > > At 06:36 PM 10/23/96 -0700, you wrote: > >On Wed, 23 Oct 1996, John Scharles wrote: > > [snip] > John Scharles Nadav