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
?# ./testscript.py -su: ./testscript.py: Permission denied
and# python testscript.py bla