Received: with LISTAR (v1.0.0; list gopher); Tue, 12 Feb 2002 15:46:35 -0500 (EST) Return-Path: Delivered-To: gopher@complete.org Received: from mothra.dyndns.org (pool-141-152-12-174.rich.east.verizon.net [141.152.12.174]) by pi.glockenspiel.complete.org (Postfix) with ESMTP id BE7093B84D for ; Tue, 12 Feb 2002 15:46:34 -0500 (EST) Received: from x by mothra.dyndns.org with local (Exim 3.34 #1 (Debian)) id 16ajmQ-0002nA-00 for ; Tue, 12 Feb 2002 15:43:58 -0500 Date: Tue, 12 Feb 2002 15:43:58 -0500 From: David Allen To: gopher@complete.org Subject: [gopher] Re: Linking a directory to gopher dir Message-ID: <20020212154358.A10716@mothra.dyndns.org> References: <1013545180.15090.102.camel@home> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1013545180.15090.102.camel@home>; from luismbo@netcabo.pt on Tue, Feb 12, 2002 at 08:19:40PM +0000 Content-Transfer-Encoding: 8bit X-archive-position: 448 X-listar-version: Listar v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: mda@idatar.com Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Listar version 1.0.0 X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Tue, Feb 12, 2002 at 08:19:40PM +0000, Luis Oliveira wrote: > > Hi, > > What I wanted to do was to create a link in /var/gopher to another > containing a collection of file (say, /usr/share/images/wallpapers) > > I did ln -s /usr/share/images/wallpapers /var/gopher/wallpapers > > But it doesn't show up when I'm browsing my gopher site... how can I do > this? Are you running your server using chroot()? If so, this locks your server in a "jail" that symbolic links can't escape IIRC. Check the manpage for your gopherd, and if you're running chroot()'ed, it will work if you drop the chroot(). (Note that there are security implications to this, so you may want to read up on chroot()) -- David Allen http://opop.nols.com/ ---------------------------------------- A master was explaining the nature of Tao to one of his novices. "The Tao is embodied in all software - regardless of how insignificant," said the master. "Is Tao in a hand-held calculator?" asked the novice. "It is," came the reply. "Is the Tao in a video game?" continued the novice. "It is even in a video game," said the master. "And is the Tao in MS-DOS?" The master coughed and shifted his position slightly. "The lesson is over for today," he said. - "The Tao of Programming"