boondocks
February 16th, 2010, 02:43 AM
I have a shell script. I set the permissions:
chmod 755 ./run_it
So now it is.
-rwxr-xr-x
I open Nautilus File Browser.
Go to the folder that contains "run_it"
I double-click on "run_it" because I want it to run.
Instead of running this shell script, I get the message:
Do you want to run "run_it", or display its contents?
With the buttons...
<Run in Terminal> <Display> <Cancel> <Run>
So I click on the <Run> button to run it.
Is there any way to make the script just run by default
and not display this message at all?
chmod 755 ./run_it
So now it is.
-rwxr-xr-x
I open Nautilus File Browser.
Go to the folder that contains "run_it"
I double-click on "run_it" because I want it to run.
Instead of running this shell script, I get the message:
Do you want to run "run_it", or display its contents?
With the buttons...
<Run in Terminal> <Display> <Cancel> <Run>
So I click on the <Run> button to run it.
Is there any way to make the script just run by default
and not display this message at all?