Terminal permission

Joined
Jul 2, 2012
Messages
3
Reaction score
0
Points
1
When i try to start my server with "Start.command" i get this message:

Does someone know how to get the right permission's?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
You forgot the error message. ;)

Can you provide some more details? What kind of server are you trying to start? Where did this "Start.command" file come from?
 
OP
L
Joined
Jul 2, 2012
Messages
3
Reaction score
0
Points
1
You forgot the error message. ;)

Can you provide some more details? What kind of server are you trying to start? Where did this "Start.command" file come from?
it's an minecraft server, and i made the "Start.command" self with texteditor. I used this code: #!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
When i double click it, it says: "you do not have permission to open this file..
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
you need to chmod 755 the file (more than likely)

or chmod o+x (I think, I never use the non numeric chmod)
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
or chmod o+x (I think, I never use the non numeric chmod)
Shouldn't that be "u+x" or. to play it safe, simply "+x" (depending on where it's installed and how secure you want things)?

leefster, try running it from the command line. Apple the permissions:
Code:
chmod 755 Start.command
and then run it:
Code:
./Start.command
Make sure to execute those commands in the directory where the Start.command file is.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top