Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 at 22:02
up vote 3 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/
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
We might need a canonical, where can I get file X that I just removed from my Mac.... – bmike Jan 8 '14 at 22:13
the recovery option was perfect, thank you! – Joe Jan 9 '14 at 14:02
@bmike I've written a canonical Q&A for that (still think the question could be improved a bit maybe):… – grgarside Jan 9 '14 at 21:03
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 '14 at 19:50

Your Answer


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.