i wrote a py script to fetch page from web,it just read write permission enough,so my question is when we need execute permission?
It's required to do so if you need to run the script in this way: ./file.py. Keep in mind though, you need to put the path of python at the very top of the script: #!/usr/bin/python.
But wait, you need to make sure you have the proper path, to do that execute: which python.
when we need chmod +x file.py