Re: install DVD mounted -noexec by default == bad interpreter permission denied

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





On Mon, Jul 27, 2009 at 3:20 AM, James Pearson <james-p@xxxxxxxxxxxxxxxxxx> 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux