Gentoo Archives: gentoo-user

From: Wesley Barnhoorn <w_barnhoorn@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] script problem
Date: Fri, 01 Dec 2006 16:18:54
Message-Id: 457053F6.9080106@planet.nl
In Reply to: [gentoo-user] script problem by Roberto Zandonati
1 Roberto Zandonati wrote:
2 > hi at all.
3 >
4 > when i try to launch a bash script like ./config i'll receive the error:
5 >
6 > bash: ./config: /bin/bash: bad interpreter: Permission denied (i'm root)
7 >
8
9 I had this problem once.
10 Turned out that the script i was trying to execute was on a partition that
11 doesn't had exec rights because it was mounted with the 'user' option, which
12 implies 'noexec'.
13
14 The solution was to simply add 'exec' to the options part in /etc/fastab.
15
16
17 --
18 Wesley Barnhoorn
19 --
20 gentoo-user@g.o mailing list