From owner-freebsd-questions Tue Jan 19 11:03:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA23672 for freebsd-questions-outgoing; Tue, 19 Jan 1999 11:03:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dmswebworks.com (simper.dmswebworks.com [208.153.182.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA23667 for ; Tue, 19 Jan 1999 11:03:01 -0800 (PST) (envelope-from rgoodson@dmswebworks.com) Received: from [208.153.182.20] by dmswebworks.com with ESMTP (Eudora Internet Mail Server 2.0); Tue, 19 Jan 1999 13:02:48 -0500 X-Sender: rgoodson@pop.dmswebworks.com Message-Id: In-Reply-To: <19990119124334.C2795@winternet.com> References: ; from Mike Meyer on Tue, Jan 19, 1999 at 10:41:20AM -0800 <19990119123344.16129.qmail@ww181.netaddress.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 19 Jan 1999 13:01:40 -0600 To: nicolas lacroix From: rich goodson Subject: Re: create a link on a ftp Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:43 PM -0600 1/19/99, Nathan Ahlstrom wrote: >Mike Meyer wrote: >> Sounds like your ftp directories are chroot'ed. This is a good thing, >> as it improves the security of your ftp server enormously. The down >> side is that you can't get to any directories outside the ftp >> directory, as you've just discovered. >> >> The solution is the union file system type; see >> mount_union(8). Replace the symlink with a directory, and then "mount >> -t union" the directory tree you are symlinking to onto that >> directory. >> >> At least, this works on NetBSD. Should work on FreeBSD, but I haven't >> tried it there. > >The union filesystem is broken in FreeBSD. > >-- > >Nathan Ahlstrom >nrahlstr@winternet.com >FreeBSD: http://www.freebsd.org/ > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message I forgot all about chroot. if your ftp directory is chroot'ed, try making the actual directory under pub and make the symlink someplace else. it works for me (I have files that I use all the time in my home directory that I also want to be publicly downloadable). I made a directory pub/files, for example, then symlinked /home/mydirectory/files to it. -rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message