Date: Tue, 19 Jan 1999 13:01:40 -0600 From: rich goodson <rgoodson@dmswebworks.com> To: nicolas lacroix <datasafe@netscape.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: create a link on a ftp Message-ID: <v03102802b2ca862f2e46@[208.153.182.20]> In-Reply-To: <19990119124334.C2795@winternet.com> References: <Pine.BSF.4.05.9901191034140.24207-100000@guru.phone.net>; from Mike Meyer on Tue, Jan 19, 1999 at 10:41:20AM -0800 <19990119123344.16129.qmail@ww181.netaddress.usa.net> <Pine.BSF.4.05.9901191034140.24207-100000@guru.phone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 12:43 PM -0600 1/19/99, Nathan Ahlstrom wrote: >Mike Meyer <mwm@phone.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03102802b2ca862f2e46>