[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash Script Problem



Actually, I made a test script, and purposely left it non-executable, and 
that's the error I got.  Since it seems like he called the script from the 
shell, it stands to reason that the permissions for bash are OK.

On Monday 26 August 2002 14:01, you wrote:
> On Mon, 2002-08-26 at 18:39, Aaron Peters wrote:
> > Firstly, it would differentiate the name from some other commands (there
> > is a command test which compares file types), which someone else
> > indicated might cause a problem.  In addition, some GUI's might be able
> > to associate the MIME type with a terminal program.
> >
> > In addition, are you sure you made the file executable?  Do the following
> > and try again:
>
> The original error message was "bad interpreter: persmission denied".
> The error is saying that /bin/bash itself is not executable.  Is there
> something funny about it?  Its permissions should be:
>
> -rwxr-xr-x    1 root     root       579816 Aug  2 19:03 /bin/bash



Reply to: