On Mon, Jul 27, 2009 at 3:20 AM, James Pearson
<james-p@moving-picture.com> wrote:
Dave wrote:
> command I typed:
> /media/MATHWORKS_R2009A/install &
>
> Error message I received:
> [1] 10759
> [root@taro matlab]# bash: /media/MATHWORKS_R2009A/install: /bin/sh:
> bad interpreter: Permission denied
>
> Solution:
>
> mount -o remount -o exec /dev/scd0
>
> (scd0 is the drive where the DVD is inserted.)
>
> Hope this helps someone with the same problem.
You could have probably run the script using:
sh /media/MATHWORKS_R2009A/install
No, I had tried that before I figured out that the DVD had been mounted with the noexec option. Noexec must be the default. No script located on the DVD can be executed by any shell so long as that option is in effect, AIUI.
Dave