Gentoo Archives: gentoo-user

From: Etaoin Shrdlu <shrdlu@×××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] script problem
Date: Fri, 01 Dec 2006 17:37:24
Message-Id: 200612011859.29486.shrdlu@unlimitedmail.org
1 On Friday 1 December 2006 17:11, Etaoin Shrdlu wrote:
2
3 > > bash: ./config: /bin/bash: bad interpreter: Permission denied (i'm
4 > > root)
5 >
6 > This happened to me once. I finally found that the script source file
7 > had been created with windows notepad (don't ask!), so it had windows
8 > cr+lf line breaks, instead of unix style ones.
9
10 Just out of curiosity, I did another check and it turns out that, in the
11 situation I described, the error message is different (bad interpreter:
12 No such file or directory). I had forgot the exact error, since it was
13 much time ago.
14 Instead, the other suggestions about noexec are right.
15 --
16 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] script problem David Relson <relson@×××××××××××××.com>