1 |
On Friday 01 December 2006 17:39, Roberto Zandonati wrote: |
2 |
> hi at all. |
3 |
> |
4 |
> when i try to launch a bash script like ./config i'll receive the |
5 |
> error: |
6 |
> |
7 |
> bash: ./config: /bin/bash: bad interpreter: Permission denied (i'm |
8 |
> root) |
9 |
|
10 |
This is a classic error, with a very misleading error message - it has |
11 |
nothing to do with file permissions, and nothing to do with whether the |
12 |
script really is a script or not (those settings will all be ok by the |
13 |
way). |
14 |
|
15 |
The partition on which ./ is located is mounted with option noexec |
16 |
|
17 |
You need to remount it with exec options. So if the partition in |
18 |
question is /mnt. you would do this: |
19 |
|
20 |
mount /mnt -o remount,exec |
21 |
|
22 |
alan |
23 |
-- |
24 |
gentoo-user@g.o mailing list |