Script not running from CD-ROM
lamsokvr at xprt.net
Fri Jun 24 07:18:55 UTC 2005
Martin J Hooper wrote:
> Jonathan Carter wrote:
>> Hi ubuntu-users
>> I have a problem with running a script as a normal user from a CD in
>> 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?
> 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 ;)
And of course..
No running with sharp objects...
More information about the ubuntu-users