Maybe the NFS share is mounted as "noexec"? (I think that would produce the exact error you're getting, whereas some trailing junk char(s) in the shebang line would rather produce "... No such file or directory").
What does mount show for the share in question?
In reply to Re^3: bad interpretor error when running scripts off an NFS share
by almut
in thread bad interpretor error when running scripts off an NFS share
by GaijinPunch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |