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 GitHub setup page at has a section on password caching. It states to download the osxkeychain and copy it to /usr/local/bin. I downloaded the file, but get a permission denied error when I try to copy it to the directory specified. How can I get this file copied?

share|improve this question
Why the -1? I am asking why I get a permission denied error. – bigwavesoftware Jun 18 '12 at 18:38
no idea. Balanced it out – houbysoft Jun 18 '12 at 18:54
up vote 3 down vote accepted

You will need to use sudo cp instead of just cp to copy a file to /usr/local/bin because /usr/* is only writable for root.

share|improve this answer
Thank you. I am a Mac/UNIX newbie, but trying to learn. – bigwavesoftware Jun 18 '12 at 19:00

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.