Script not running from CD-ROM

Martin J Hooper martinjh at
Fri Jun 24 06:53:44 UTC 2005

Jonathan Carter wrote:
> Hi ubuntu-users
> I have a problem with running a script as a normal user from a CD in 
> Ubuntu.
> The script is readable, and executable, but when I execute the script, I 
> get the following message:
> bash: ./runscript: /bin/bash: bad interpreter: Permission denied
> Why won't the script work? And what can I do to fix it?
> thanks
> -Jonathan

I had that problem - When you mount a disc by click on its desktop icon 
it is mounted in such a way as to not have any scripts or programs 
running from it.

The work around I did was to close any windows that are open on the cd - 
open a terminal and type the following:

sudo umount /media/cdrom
sudo mount /dev/hdc -t iso9660 /media/cdrom

Using your mountpoints and devices of course ;)

More information about the ubuntu-users mailing list