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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.