[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] debian won't run scripts from cd



I'm trying to run a script on a cd and Debian Lenny refuses to run it
with a 'bad interpreter' error:

bash: /media/cdrom/autorun.sh: /bin/sh: bad interpreter: Permission
denied


sh is a symlink to bash. I have no problem running #!/bin/sh scripts
elsewhere; it's only from the cd that it fails. The cd script has the x
bits set.

Is there some special mojo I need to perform to allow running scripts
from a cd?