Permission denied even as root !
Vincent Trouilliez
vincent.trouilliez at wanadoo.fr
Mon Dec 20 15:13:04 UTC 2004
Le lundi 20 décembre 2004 à 09:52 -0500, Michael P. Soulier a écrit :
> On 20/12/04 Vincent Trouilliez said:
>
> > "unable to exec ./installation.sh: Permission denied"
> > "bash: ./installation.sh: /bin/sh: bad interpreter: Permission denied"
>
> The Permission denied is a red-herring. Bad interpreter means that
> /bin/sh does not exist.
>
> Mike
Hi Mike,
See the list, problem solved ! :-)
/bin/sh obviously does exist, the problem was just that it seems that by
default, Ubuntu does not allow to execute anything that's on a
removeable media (CD, floppy, ZIP etc...).
So I just had to invoke the shell explicitely : "sh scriptname" instead
of just "./scriptname".
I can also specifiy the 'exec' option in fstab to give permanent
permission on the CD or whatever volume.
Thank you to all who educated me today ;-)
Vince, learning a little bit every day...
More information about the ubuntu-users
mailing list