Server Fault is a question and answer site for system and network administrators. 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

I set up a git user on my Mac OS 10.7 system. In the root, there's a /repositories/test.git repo. When trying to clone it with git clone git@server:repositories/test.git it fails me with:

bash: git-upload-pack: command not found
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What am I doing wrong?

share|improve this question
up vote 1 down vote accepted

See for details, but essentially the server doesn't have git-upload-pack in the right directory for a non-login shell to execute.

share|improve this answer
The thing is that if I place the repo in my own users root, the clone succeeds. So, I'm thinking it might be a rights issue. – Kriem Mar 20 '13 at 21:30
Although that actually solved my command line issues, Atlassian SourceTree still won't push. I think it's a different issue though. – Kriem Mar 21 '13 at 11:07

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.