Re: Problem: 'bad interpreter: Permission denied'
On Wed, Jan 08, 2003 at 09:39:43PM +1100, Peter Johnson wrote:
> I have a small problem and was hoping that someone else out there has
> experienced and resolved it for themselves at some stage in the past.
>
> Basically, whenever I attempt to execute a script it dies with the 'bad
> interpreter: Permission denied' catch-cry. So far this is sh and perl
> files i.e. files beginning with "#!/bin/sh" or "#!/usr/bin/perl".
>
> Ok, I know what your thinking, the x bit hasn't been set on either
> /bin/sh and /usr/bin/perl OR on the script files themselves. Well they
> have.
Maybe some filesystem is mounted with the noexec flag? (guesswork)
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: