[ale] debian won't run scripts from cd

Damon L. Chesser damon at damtek.com
Thu Aug 19 21:04:17 EDT 2010


On Thu, 2010-08-19 at 17:50 -0400, Tim Watts wrote:
> never mind. it's mounted as 'noexec'. so many variables...

It would not have been mounted that way if auto-mounter was not mounting
things.
> 
> 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
> 
> 
> _______________________________________________
> 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


-- 
Damon
damon at damtek.com



More information about the Ale mailing list