[CentOS] install DVD mounted -noexec by default == bad interpreter permission denied

Sat Jul 25 01:32:49 UTC 2009
Dave <tdbtdb+centos at gmail.com>

Installing matlab on Centos5.

command I typed:

/media/MATHWORKS_R2009A/install &

Error message I received:
[1] 10759
[root at taro matlab]# bash: /media/MATHWORKS_R2009A/install: /bin/sh:
bad interpreter: Permission denied

Google found no hits with this precise error message, but several
similar hits when I leave out the matlab path.

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.

Dave



-- 
———————————————————————-
Q: Why should this email be 5 sentences or less?
A: http://five.sentenc.es
IPRC-help FAQ: https://wailua/wiki/index.php/Faq