[ale] debian won't run scripts from cd

Tim Watts tim at cliftonfarm.org
Fri Aug 20 04:42:28 EDT 2010


On Thu, 2010-08-19 at 21:04 -0400, Damon L. Chesser wrote:
> 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.

Or, I suppose, if I added 'exec' after the 'user' option in fstab? What
subsystem provides the auto-mounter? I'm thinking gvfs?


> > 
> > 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
> 
> 

________
I am not young enough to know everything.
-- Oscar Wilde




More information about the Ale mailing list