Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Execute a file


>> 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?