home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.infosystems.gopher
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!ncar!claven!woods
- From: woods@claven.ucar.edu (Greg Woods)
- Subject: Re: Gopher and Symbolic links
- Message-ID: <1992Dec31.200206.24318@claven.ucar.edu>
- Organization: Scientific Computing Division/NCAR Boulder, CO
- References: <1992Dec31.051621.3293@news2.cis.umn.edu> <1992Dec31.141242.28769@midway.uchicago.edu> <1992Dec31.162253.7322@news2.cis.umn.edu>
- Date: Thu, 31 Dec 1992 20:02:06 GMT
- Lines: 19
-
- In article <1992Dec31.162253.7322@news2.cis.umn.edu> lindner@mudhoney.micro.umn.edu (Paul Lindner) writes:
- >So, if the symbolic links are contained within the
- >>gopher data directory shouldn't the links be visible without the -c
- >>option? Thanx...
- >
- >Oh, I see, symbolic links *within* the gopher-data directory should be
- >followed no matter what..
-
- One thing can bite you here: the name contained within the symlink
- may point somewhere else after a chroot is done, e.g. if your
- gopher area is, say, /gopher, and your symlink points to
- /gopher/somewhere, this may work before a chroot("/gopher"), but not
- after, where it will have to point to /somewhere. The way to avoid
- this is to make sure all your symlinks use RELATIVE path names, and make
- sure the relative paths will be the same both before and after the
- chroot.
-
- --Greg
-
-