I have two cloned repo's, and when I try to push changes to my clones, I 
get the error "You do not have write access this repository".  Several 
other reports of this error in the forums from a year or two ago, but no 
solutions yet.

I updated my public key in Gitorious (but it was already there), and 
verified that on both repo's I am type:user, permissions: commit, review, 
admin.  Both cloned repo's inherited those permissions.  (Is there any 
other type besides 'user'?)

Walkthrough:

1.  Clone https://gitorious.org/learn-x-the-hard-way/ to my Gitorious 
account:

[email protected]:~byrongibson/learn-c-the-hard-way/byrongibsons-learn-c-the-hard-way.git
[email protected]:~byrongibson/learn-x-the-hard-way/learn-cpp-the-hard-way.git

2.  On local machine:

$> git 
clone 
[email protected]:~byrongibson/learn-c-the-hard-way/byrongibsons-learn-c-the-hard-way.git
$> git remote add 
upstream git://gitorious.org/learn-x-the-hard-way/learn-x-the-hard-way.git

$> git 
clone 
[email protected]:~byrongibson/learn-x-the-hard-way/learn-cpp-the-hard-way.git
$> git remote add 
upstream git://gitorious.org/learn-x-the-hard-way/learn-x-the-hard-way.git

3.  Modify the README file, then 

$> git add -A
$> git commit -m 'update README'
$> git push origin master

4.  Error:

$> git push origin master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 471 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)

== Gitorious: ==========================================================
You do not have write access to this repository
========================================================================

error: hooks/pre-receive exited with error code 1
To 
[email protected]:~byrongibson/learn-x-the-hard-way/learn-cpp-the-hard-way.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 
'[email protected]:~byrongibson/learn-x-the-hard-way/learn-cpp-the-hard-way.git'
$> 

Same error with the other repo as well.  Not sure what else to try.  Any 
suggestions appreciated.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to