[git-users] Could not connect to the repository issue for (new linux user)

2013-06-13 Thread WooD Fung
I followed the official document to setup ssh protocol for git. I can clone 
the repository by using root account. but I cannot clone the repository 
from a new Linux user account. 
Does anybody know how to fix it?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] Could not connect to the repository issue for (new linux user)

2013-06-13 Thread Konstantin Khomoutov
On Thu, 13 Jun 2013 07:39:17 -0700 (PDT)
WooD Fung cw.wood.f...@gmail.com wrote:

 I followed the official document to setup ssh protocol for git. I can
 clone the repository by using root account. but I cannot clone the
 repository from a new Linux user account. 
 Does anybody know how to fix it?

Are you able to just execute Git after logging as that new user in
the remote system using SSH?  I mean, does mere

$ ssh newuser@server 'git --version'

works okay and prints out the Git's version information?

If yes, then supposedly the problem is with the repository permissions:
your user might not have sufficient rights to properly read the
repository objects and metadata.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.