Originally Posted by JunctaJuvant
And another common reason for scripts to fail is that they have not been made executable (e.g. "chmod u+x").
That won't apply in this situation. The OP was talking about a CD, and you can't change file permissions on a read-only filesystem.
Since this is apparently a shell script, you could just explicitly run it with BASH, like this: