[ale] debian won't run scripts from cd

Tim Watts tim at cliftonfarm.org
Thu Aug 19 17:50:13 EDT 2010


never mind. it's mounted as 'noexec'. so many variables...

On Thu, 2010-08-19 at 17:36 -0400, Tim Watts wrote:
> 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?
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

________
We used to think that if we knew one, we knew two, because one and one
are two. We are finding that we must learn a great deal more about
'and'.
-- Sir Arthur Eddington




More information about the Ale mailing list