Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] Huh?
  • From: Adam Tauno WIlliams <awilliam@xxxxxxxxxxxxx>
  • Date: Mon, 08 Jun 2009 06:50:10 -0400
  • Message-id: <1244458210.22837.711.camel@xxxxxxxxxxxxxxxxxxxxx>
On Mon, 2009-06-08 at 12:41 +0200, Carlos E. R. wrote:
On Sunday, 2009-06-07 at 22:45 -0400, Richard Creighton wrote:
On Sun June 7 2009 8:44:02 pm Anders Johansson wrote:
On Monday 08 June 2009 02:35:45 Richard wrote:
[...]
linux:/home/ricreig # ./test
-bash: ./test: /bin/bash: bad interpreter: Permission denied
[...]
OK, I give up, What's wrong here
Could it be that your home partition is mounted with the "noexec" flag (or
the
"user" flag, which implies "noexec")
I'm running as ROOT and as ME, both fail. IF I run it with /bin/bash
./test, it works, if I say ./test, it doesn't. If I say
#which bash, it returns
/bin/bash

and no others
which test
remember that there is a system binary of that name (and an internal bash
command), it might be interfering.

Not when he runs it like "./test", which specifies the absolute path
(although, yes, "test" is a very bad choice for a script name).

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >