Also a strings on the perl executable doesn't turn up the "Permission denied" string but it does on /bin/bash. So that's where the error message is coming from. Why it's happening on your system I can't say.[ryan@luna bash]$ cat > test.sh <<! > #! /tmp/noexecutepermission > ! [ryan@luna bash]$ cat test.sh #! /tmp/noexecutepermission [ryan@luna bash]$ chmod a+x test.sh [ryan@luna bash]$ touch /tmp/noexecutepermission [ryan@luna bash]$ test.sh bash: ./test.sh: /tmp/noexecutepermission: bad interpreter: Permission denied [ryan@luna bash]$
posted by majick at 6:54 PM on June 7, 2004