[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] debian won't run scripts from cd
- Subject: [ale] debian won't run scripts from cd
- From: tim at cliftonfarm.org (Tim Watts)
- Date: Thu, 19 Aug 2010 17:36:38 -0400
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?