Complete.Org: Mailing Lists: Archives: gopher: February 2002:
[gopher] Re: Linking a directory to gopher dir
Home

[gopher] Re: Linking a directory to gopher dir

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gopher@xxxxxxxxxxxx
Subject: [gopher] Re: Linking a directory to gopher dir
From: David Allen <mda@xxxxxxxxxx>
Date: Tue, 12 Feb 2002 15:43:58 -0500
Reply-to: gopher@xxxxxxxxxxxx

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" 


[Prev in Thread] Current Thread [Next in Thread]