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

  1. Newsgroups: comp.infosystems.gopher
  2. Path: sparky!uunet!utcsri!torn!blaze.trentu.ca!ccksb
  3. From: ccksb@trentu.ca (Ken Brown)
  4. Subject: execing shell scripts
  5. Message-ID: <1992Nov16.181914.29310@trentu.ca>
  6. Organization: Trent University, Ontario
  7. References: <6749@m1.cs.man.ac.uk> <1992Nov16.144653.4835@engr.LaTech.edu>
  8. Date: Mon, 16 Nov 1992 18:19:14 GMT
  9. Lines: 26
  10.  
  11. I can see how to set up the link file to run a script from gopher.  What
  12. I gather is that in the gopher data directory there must exist
  13. directories which contain the script/programs desired.  If this is so
  14. and I want to run a csh script called `testme' and chroot is used (the
  15. default) then testme and csh must reside in the gopher tree.  If the
  16. gopher data directory is /usr/local/gopherdata and the script starts
  17. #!/bin/csh then I take it the gopher tree must appear like so;
  18.  
  19. /usr/local/gopherdata
  20.     |
  21.     bin
  22.  
  23. and in /usr/local/gopherdata/bin we must have csh and the script testme.
  24.  
  25. If this is so, how do I stop bin from being seen by clients as a
  26. directory entry in the top level?  After all, /usr/local/gopherdata
  27. contains other entries I wish to display but I don't wnat to display the
  28. bin dir.
  29.  
  30. Comments, pointes, etc. most welcomed...
  31.  
  32. -- 
  33. ====================================================================
  34. Ken Brown                                       voice: (705)748-1540
  35. Trent University Computing & Telecommunications   fax: (705)748-1246
  36. Peterborough, Ontario, Canada K9J 7B8     internet: kbrown@trentu.ca
  37.