"permission denied" in terminal

wallothet

macrumors newbie
Original poster
Jun 5, 2013
3
0
Hello,

I tried to run an .exe I downloaded from another forum for a game I own. It is for windows so I made sure I have x11 and mono (as required by the developer). When I drag the .exe into the terminal (as directed by instructions given with .exe) I get permission denied. Can anyone help? I am new to this so I could be doing something obviously wrong.

I type mono and then hit space and enter, then drag file and hit enter, then I get permission denied message.
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,106
73
Solon, OH
Hello,

I tried to run an .exe I downloaded from another forum for a game I own. It is for windows so I made sure I have x11 and mono (as required by the developer). When I drag the .exe into the terminal (as directed by instructions given with .exe) I get permission denied. Can anyone help? I am new to this so I could be doing something obviously wrong.

I type mono and then hit space and enter, then drag file and hit enter, then I get permission denied message.
This message means that the thing you're trying to run isn't marked as executable. Fortunately, this is easy to fix with the chmod command (change mode):
Code:
chmod +x (drag and drop the file on the Terminal)
Make sure there's a space between the three parts of this command: between the chmod and the +x, as well as between the +x and the path to the file.
 

wallothet

macrumors newbie
Original poster
Jun 5, 2013
3
0
Question about order of steps...

Thanks so much for the response, I do have one other question though - when do I input the "mono" command, before or after?


(Embarrassingly enough, this is so I can run a program that will check the custom content in my Sims3 game so I can find out what files are corrupting it.) Here is the link to where I got the instructions: http://forum.thesims3.com/jforum/posts/list/494790.page

(Apparently this is really basic and as far as I can tell seems to have worked for some people. One other person had the same problem as me but no solution was offered.) So what order should I do everything in considering I will need to add the chmod step? (And one other thing, when I do "mono" do I need to select anything else? The script seems to imply I should choose between two things but the above instructions mentioned nothing about this. Script is posted below.)

Thanks for any help you can offer... we Ohioans gotta stick together.
 

Attachments

wrldwzrd89

macrumors G5
Jun 6, 2003
12,106
73
Solon, OH
Thanks so much for the response, I do have one other question though - when do I input the "mono" command, before or after?


(Embarrassingly enough, this is so I can run a program that will check the custom content in my Sims3 game so I can find out what files are corrupting it.) Here is the link to where I got the instructions: http://forum.thesims3.com/jforum/posts/list/494790.page

(Apparently this is really basic and as far as I can tell seems to have worked for some people. One other person had the same problem as me but no solution was offered.) So what order should I do everything in considering I will need to add the chmod step? (And one other thing, when I do "mono" do I need to select anything else? The script seems to imply I should choose between two things but the above instructions mentioned nothing about this. Script is posted below.)

Thanks for any help you can offer... we Ohioans gotta stick together.
Sample workflow:
chmod +x name_of_program
mono name_of_program

Where "name_of_program" is replaced by whatever the full path to the program is.