On Friday 01 December 2006 17:39, Roberto Zandonati wrote:
> hi at all.
>
> when i try to launch a bash script like ./config i'll receive the
> error:
>
> bash: ./config: /bin/bash: bad interpreter: Permission denied (i'm
> root)

This is a classic error, with a very misleading error message - it has 
nothing to do with file permissions, and nothing to do with whether the 
script really is a script or not (those settings will all be ok by the 
way).

The partition on which ./ is located is mounted with option noexec

You need to remount it with exec options. So if the partition in 
question is /mnt. you would do this:

mount /mnt -o remount,exec

alan
-- 
gentoo-user@gentoo.org mailing list

Reply via email to