home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1183 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.infosystems.gopher
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!wupost!spool.mu.edu!umn.edu!mudhoney!lindner
  3. From: lindner@mudhoney.micro.umn.edu (Paul Lindner)
  4. Subject: Re: execing shell scripts
  5. Message-ID: <1992Nov17.064939.9891@news2.cis.umn.edu>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: mudhoney.micro.umn.edu
  8. Organization: University of Minnesota, Minneapolis
  9. References: <6749@m1.cs.man.ac.uk> <1992Nov16.144653.4835@engr.LaTech.edu> <1992Nov16.181914.29310@trentu.ca>
  10. Date: Tue, 17 Nov 1992 06:49:39 GMT
  11. Lines: 28
  12.  
  13. In <1992Nov16.181914.29310@trentu.ca> ccksb@trentu.ca (Ken Brown) writes:
  14.  
  15. >I can see how to set up the link file to run a script from gopher.  What
  16. >I gather is that in the gopher data directory there must exist
  17. >directories which contain the script/programs desired.  If this is so
  18. >and I want to run a csh script called `testme' and chroot is used (the
  19. >default) then testme and csh must reside in the gopher tree.  If the
  20. >gopher data directory is /usr/local/gopherdata and the script starts
  21. >#!/bin/csh then I take it the gopher tree must appear like so;
  22.  
  23. >/usr/local/gopherdata
  24. >    |
  25. >    bin
  26.  
  27. >and in /usr/local/gopherdata/bin we must have csh and the script testme.
  28.  
  29. >If this is so, how do I stop bin from being seen by clients as a
  30. >directory entry in the top level?  After all, /usr/local/gopherdata
  31. >contains other entries I wish to display but I don't wnat to display the
  32. >bin dir.
  33.  
  34. bin is one of those magic directories that automatically get ignored
  35. by the unix server.  Try it, you'll like it.
  36. --
  37.  | Paul Lindner | lindner@boombox.micro.umn.edu   | Slipping into madness
  38.  |              | Computer & Information Services | is good for the sake
  39.  | Gophermaster | University of Minnesota         | of comparision.
  40. ///// / / /    /////// / / / /  /  /  /   /      //// / / / /  /  /  /   /
  41.