>> Do a strace ./test.sh
>
>[marshallj@datasrv bin]$ strace ./test.sh
>execve("./test.sh", ["./test.sh"], [/* 20 vars */]) = 0
>strace: exec: Permission denied
Are you on some sort of weird filesystem like NFS? Are you logged in as
someone who doesn't have execute permissions on that filesystem? What
happens if you move test.sh to /tmp? Has your kernel been rebuilt and
you didn't include support for executing #! scripts?
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug