PDA

View Full Version : [ubuntu] [SOLVED] Making a script executable



RussW210
September 10th, 2008, 10:50 PM
Hey guys, I am trying to create a uTorrent executable script. My instructions were to type "sudo chmod a x /usr/bin/utorrent" to make the script executable (the shell script is correctly in the folder) but "a" is not an option for chmod. Does anyone know how I can make this script executable?

sisco311
September 10th, 2008, 10:54 PM
sudo chmod a+x /usr/bin/utorrent

checkit
September 10th, 2008, 10:54 PM
Find the file in Nautilus, right click on the file, go to Properties --> Permissions --> Execute (Allow executing file as a program).

RussW210
September 10th, 2008, 10:56 PM
Ahh, he was one off... thank you sisco.

That is another good way, thank you checkit.

sisco311
September 10th, 2008, 11:02 PM
Find the file in Nautilus, right click on the file, go to Properties --> Permissions --> Execute (Allow executing file as a program).
if the file is owned by root, then you must to run nautilus as root:

gksu nautilus