Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

The /usr/bin/codesign file on our server was removed. It is running version OS version 10.9. Does anyone know where I can download the codesign file for OSX 10.9? Or can anyone pull it off their computers for me?

share|improve this question
    
Do you have Xcode 5.x with the command line tools installed ?? - I have the codesign tool with my Mavericks. –  Rene Larsen Jan 8 at 22:02

1 Answer 1

up vote 2 down vote accepted

From OS X 10.9.1: /usr/bin/codesign

Alternatively, grab it from your Recovery HD:

diskutil mount Recovery\ HD
hdiutil mount /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg
sudo cp /Volumes/OS\ X\ Base\ System/usr/bin/codesign /usr/bin/codesign

I recommend you do a permissions repair after copying.

share|improve this answer
2  
We might need a canonical, where can I get file X that I just removed from my Mac.... –  bmike Jan 8 at 22:13
    
the recovery option was perfect, thank you! –  Joe Jan 9 at 14:02
1  
@bmike I've written a canonical Q&A for that (still think the question could be improved a bit maybe): apple.stackexchange.com/questions/116611/… –  grgarside Jan 9 at 21:03
2  
I like how the canonical question is working out. Hit me up in Ask Different Chat this weekend. It might be nice to pick another sort of canonical question or two to try asking / answering. Perhaps a fun one like Clash of Clans / Game Center and another more serious one. –  bmike Mar 13 at 19:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.