OSX Permissions

dinker99

Member
Feb 18, 2012
82
0
0
A rather technical problem here, I sent a guy on the other side of the planet an OSX Unix Executable which works fine on my machine. When he installs it on his machine it is seen as a text file by the OS.

Anyone any ideas what is happening here?
 

TheStu

Moderator<br>Mobile Devices & Gadgets
Moderator
Sep 15, 2004
12,089
45
91
What OS are you using?
What OS is he using?
What is the extension on the file?
Have you ever sent a file like this to anyone before?
What did you use to create the file?
 

ViRGE

Elite Member, Moderator Emeritus
Oct 9, 1999
31,516
167
106
If it's a "unix executable", I'm guessing he sent him a CLI program. In which case the user needs to open up Terminal and execute it appropriately: ./<programname>
 

effowe

Diamond Member
Nov 1, 2004
6,012
18
81
Don't forget to 'sudo' before the command. You may also need a 'chmod a+x' to get it to be executable.
 

dinker99

Member
Feb 18, 2012
82
0
0
It is a properly formed Mach 0 executable, uploaded to Rapidshare as a RAR with a recovery record - I`ve got the guy to check the MD5 and it is correct.

We are both running OSX 10.7.4
 

TheStu

Moderator<br>Mobile Devices & Gadgets
Moderator
Sep 15, 2004
12,089
45
91
Well, then it looks like we have ViRGE's question left, is he executing it correctly through the terminal? Can you screen share his system to make sure?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
It probably just lost the executable bit and please don't tell him to use sudo to execute it unless it needs root privileges.
 

dinker99

Member
Feb 18, 2012
82
0
0
It probably just lost the executable bit and please don't tell him to use sudo to execute it unless it needs root privileges.

The guy can just about manage to switch his computer on, I think I`ll have to wrap the thing up in an app. Thanks for your thoughts men.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
The guy can just about manage to switch his computer on, I think I`ll have to wrap the thing up in an app. Thanks for your thoughts men.

If the OS X archive tool does tar files use that and tell it to preserve permissions.