i am having a python script
#!/usr/bin/env python
in top of my script? following is the permission i had set
-rwxr-xr-x 1 user1 user2 6423 Nov 15 15:12 test
i tried executing the script as user1 ./test its giving me permission denied?
when i do
whoami it shows user1 and umask is 0022, user1 has bash as his default shell
$python test (it works fine)
Any ideas??

noexec? – gertvdijk Nov 15 '12 at 10:49# ./testscript.py -su: ./testscript.py: Permission deniedand# python testscript.py bla– gertvdijk Nov 15 '12 at 11:08