You don't want just anyone to be able to run your script. By editing permissions, you can make it so that only you can run the script.
Instructions
Edit the file permissions for script.py so that only the current user can access it.
Assign read, write, and execute permissions to the current user.
Assign no permissions to your group, or other users
/home/dq$ chmod 0700 script.py
转载请注明原文地址: https://ju.6miu.com/read-1124066.html