[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[gopher] Re: Linking a directory to gopher dir

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
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" 

Reply to: