From mboxrd@z Thu Jan 1 00:00:00 1970 From: robinb@ruffnready.co.uk (Robin Birch) Date: Thu, 12 Aug 2004 22:14:39 +0100 Subject: [pups] Installing begemot In-Reply-To: <411BD929.4080009@sun.com> References: <20040811235417.GY19643@wantadilla.lemis.com> <411BBDD3.3050400@sun.com> <411BD929.4080009@sun.com> Message-ID: In message <411BD929.4080009 at sun.com>, Chris Drake writes >> The most curious one is a "bad interpreter" one. This is what I get >>along with the permissions moan. But curiously if I run it sh >>filename then all works. >> It is as though there is some global shell permissions set up that >>is munged. > >Hoo, you've got a weirdo, all right. Darn, I was hoping it was trivial. > >Bad interpreter: sounds like the first line where you select "the shell" >is munched somehow. Officially, you can select any interpreter you want - >but you gotta get the name right. :) > >More thoughts: > - any problems with the pathname? Is it /bin/sh and nothing else? > - check perms on /, /bin, and /bin/sh just in case something got > zapped > - what's your normal shell? How about it you change /bin/sh to > the thing you run normally? > - does anything follow the "sh" on the line? Like, perchance any > strange nonprintable chars that might be interpreted as a part > of the name or as a parameter to the shell? > - try #!/bin/sh -x to see if you get any output from the script > as it's run > - do other scripts like one-liners work OK? Ie, > #!/bin/sh > echo hello world > - any other messages? > >Just saw Warren's email, and he has a few good ones as well - like, what are >you running on? :) > > - Chris > Hi Chris, See my reply to Warren. I'll try this all tomorrow, the system is in work. Cheers Robin -- Robin Birch