Article 5EQ8V If i chmod +x a script, then copy the script to another computer, will it be an executable over there too?

If i chmod +x a script, then copy the script to another computer, will it be an executable over there too?

by
arifd86
from LinuxQuestions.org on (#5EQ8V)
I have a collection of scripts, and then a master script that I call via a keystroke that executes a GUI with a button for each script.

If I change computers do I have to remember to chmod them all again? Or should I just have the master script chmod them every time I call the master script?

Additionally, I have a python script that needs sudo permissions. If I run the python script from the shell prompt i can just sudo the python script. But I can't do that so easily from my master script, because it is GUI based. So how should I manage that? Not all of my scripts need sudo so I can't just blanket give sudo permissions to all of them, and I guess my master script can't know which ones need sudo.latest?d=yIl2AUoC8zA latest?i=ybg-m0KNxoY:tfv5gP6T_TY:F7zBnMy latest?i=ybg-m0KNxoY:tfv5gP6T_TY:V_sGLiP latest?d=qj6IDK7rITs latest?i=ybg-m0KNxoY:tfv5gP6T_TY:gIN9vFwybg-m0KNxoY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments