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