Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have strange issue when try git push. Git clone and commit works fine.

W access for my_project DENIED to deploy_my_project_

My gitolite.conf

repo my_project   
R = deploy_my_project_111 
RW+ = my_name

I wonder why git push takes wrong user (deploy_project_111) with read access.

This error is float. Twice i had to change rsa key(rsa keys is unchangeble) and restart computer. May be my computer do something wrong.

share|improve this question
1  
I don't recognize that syntax: you should have one line with repo yourRepo, then a line with RW+ yourName –  VonC Dec 13 '12 at 10:42
    
Sorry. Has been edited –  Stepchik Dec 13 '12 at 10:49
    
And do you have a public key with 'my_name' as parameter in the ~git/.ssh/authorized_keys file? –  VonC Dec 13 '12 at 11:08
    
Yes i have public key with 'my_name' –  Stepchik Dec 14 '12 at 6:22
    
However, the error message don't deny access for your name. It denies it for deploy_my_project_. What is the full address URI you are using to push? Do you have a $HOME/.config file on your client (from where you are pushing)? –  VonC Dec 14 '12 at 6:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.