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

Re: running script from cdrom fails



On Fri, 2003-11-21 at 07:58, Micha Feigin wrote:
> When I try to run shell scripts from cdrom I get the following message:
> bash: ./INSTALLDOCS.SH: /bin/sh: bad interpreter: Permission denied
> I got this with several bash scripts and in fact, I don't remmember one
> that did work. Any idea?

You need to add the "exec" flag to your mount options. By default, all
removable media has noexec set. Check the mount and fstab man pages for
more info.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: