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

Re: Strange diagnostic



> On Mon, Jan 27, 2003 at 12:01:32PM +0000, Oliver Elphick wrote:
> > On Mon, 2003-01-27 at 11:29, Nikita V. Youshchenko wrote:
> > > > Since it is a script, it presumably starts with
> > > > #! /path/to/interpreter
> > > >
> > > > The problem is that the user doesn't have execute permission on
> > > > /path/to/interpreter
> > >
> > > User HAS execute permisions on /bin/bash.
> >
> > Sure he does, but bash is complaining that it cannot execute the
> > interpreter for your script.  What have you got in its first line?
>
> Am I the only one who noticed the original shell file didn't have
> execture permissions except for user (which was root) ?

Yes, the user does NOT have permission to execute the script.
So what I expect is "Permission denied".
But I get "/bin/bash: bad interpreter: Permission denied".
That's what I am talking about.



Reply to: