title: "Permission denied" error on .sh script on RHEL5
body: <pre><code>root@server [/mnt/elm332/Setup/Linux]# ./setupLinux64.sh -c
  Unpacking JRE ...
  Starting Installer ...
  ./setupLinux64.sh: line 433: /tmp/setupLinux64.sh.28603.dir/jre/bin/java: Permission denied
  
  root@server [/mnt/elm332/Setup/Linux]# whoami
  root
  </code></pre>
  
  <p>Why would this be happening? Note that this is a mounted ISO file (copied in /tmp), and the permissions on that are:</p>
  
  <pre><code> -rw-r--r--  1 root   root   554434560 Aug 26 16:05 elm3.3.2.iso
  </code></pre>
  
  <hr>
  
  <p>Line 433 is as follows:</p>
  
  <blockquote>
    <p>"$app_java_home/bin/java"
    -Dinstall4j.jvmDir="$app_java_home" -Dexe4j.moduleName="$prg_dir/$progname"
    -Dexe4j.totalDataLength=73387877 -Dinstall4j.cwd="$old_pwd" -Djava.ext.dirs="$app_java_home/lib/ext"
    "-Dinstall4j.nolaf=true"
    "-Dsun.java2d.noddraw=true" "$vmov_1"
    "$vmov_2" "$vmov_3" "$vmov_4"
    "$vmov_5" $INSTALL4J_ADD_VM_PARAMS
    -classpath "$local_classpath" com.install4j.runtime.Launcher launch
    com.install4j.runtime.installer.Installer
    false false "" "" false true false ""
    true true 0 0 "" 20 20 "Arial" "0,0,0"
    8 500 "version 10.0" 20 40 "Arial"
    "0,0,0" 8 500 -1  "$@"</p>
  </blockquote>