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

William L. Maltby CentOS4Bill at triad.rr.com
Tue Jul 28 11:04:43 UTC 2009


On Mon, 2009-07-27 at 23:15 -1000, Dave wrote:
>
> 
> On Mon, Jul 27, 2009 at 3:20 AM, James Pearson
> <james-p at moving-picture.com> wrote:
>         <snip>

>         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. 

In bash, you could probably stil run it with the "source" or ","
command, e.g.

. <the path to the script>
source <the path to the script>

> Dave
> <snip sig stuff>

-- 
Bill





More information about the CentOS mailing list