Problems with bash and perl execution
Something has happened throughout my system. Before my problem the error message when trying to install crossover 4.0 was: "install-crossover-standard-4.0.sh: ./setup.sh: /bin/sh: bad interpreter: Permission denied" I have discovered that I get this error whenever I execute ANY bash script file, and now perl. Also, when I try to run cxsetup or cxreset I get the following: "ed@linux:~/cxoffice/bin> ./cxreset [or cxsetup] bash: ./cxreset: /usr/bin/perl: bad interpreter: Permission denied" The permissions on /bin/sh, /bin/bash and /usr/bin/perl are all 755. If I use "bash" in front of the file name, it works. With perl, I get different error messages with different files, but none will execute. These have worked for months, and I have no idea what has happened to change them What could be causing this? Ed Harrison SuSE 9.1, Kernel 2.6.9-vanilla PolarBar Mailer 1.25a
On Saturday 20 November 2004 22:25, Ed Harrison wrote:
Something has happened throughout my system.
Before my problem the error message when trying to install crossover 4.0 was:
"install-crossover-standard-4.0.sh: ./setup.sh: /bin/sh: bad interpreter: Permission denied"
I have discovered that I get this error whenever I execute ANY bash script file, and now perl.
Also, when I try to run cxsetup or cxreset I get the following:
"ed@linux:~/cxoffice/bin> ./cxreset [or cxsetup] bash: ./cxreset: /usr/bin/perl: bad interpreter: Permission denied"
The permissions on /bin/sh, /bin/bash and /usr/bin/perl are all 755.
If I use "bash" in front of the file name, it works. With perl, I get different error messages with different files, but none will execute.
These have worked for months, and I have no idea what has happened to change them
What could be causing this?
A partition mounted without execute permission? See 'man mount' if this is the case. Cheers, Leen
On Sat, 2004-11-20 at 16:25, Ed Harrison wrote:
Something has happened throughout my system.
Before my problem the error message when trying to install crossover 4.0 was:
"install-crossover-standard-4.0.sh: ./setup.sh: /bin/sh: bad interpreter: Permission denied"
You don't show the command you were trying to use but should be something like: sh install-crossover-standard-4.0.sh as a normal user -not- root. If you still have problems try using the email list that crossover has, they are quite good and very fast to respond to problems. -- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*
participants (3)
-
Ed Harrison
-
Ken Schneider
-
Leendert Meyer