Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8822299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:04:20+00:00 2026-06-14T06:04:20+00:00

So I seem to have been a bit carless with sudo when trying to

  • 0

So I seem to have been a bit carless with sudo when trying to setup my git account was following a tutorial and this is what I entered

458  git credential-osxkeychain
459  curl -s -O http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain
460  git credential-osxkeychain
461  which git
462  sudo mv git-credential-osxkeychain /usr/bin/git
463  git config --global credential.helper osxkeychain
464  sudo git config --global credential.helper osxkeychain

now wheneverI try any type of git command I receive the message

-bash: /usr/bin/git: Permission denied

Any help would be very very much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:04:24+00:00Added an answer on June 14, 2026 at 6:04 am

    Try:

    chmod a+x /usr/bin/git
    

    or:

    chmod 755 /usr/bin/git
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've checked through other questions and surprisingly this question doesn't seem to have been
I have been researching this issue pretty extensively and cannot seem to find an
I have been stuck on this for a while now and I cannot seem
I have been looking for some time for this and I can't seem to
I feel like this question ought to have been covered, but I can't seem
Hell there, I have been stuck on this for a bit now. I know
I have been trying to get this to work for about three solid days
I have been googling around a bit and can't seem to find an solution.
I have been doing a bit of research, but I cannot seem to find
This might seem daft for which I'm sorry, I've been writing a bit some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.