I have a python script, in which I have the following shebang
the script permissions are
-rwxrwxrwx. 1 user user 709 script.py the owner of the script is the same as the user I use to run the script.
I do not understand why I get Permission denied when I run
./script.py but I can run it with
python script.py or
/usr/bin/python script.py. What I am missing?
Linux distribution is RedHat 6