help, cann't push .(You do not have write access to this repository)

509 views
Skip to first unread message

it sucks

unread,
Jun 29, 2010, 9:57:55 PM6/29/10
to Gitorious
$ git push origin master
Counting objects: 12, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (12/12), 9.78 KiB, done.
Total 12 (delta 0), reused 0 (delta 0)

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

error: hooks/pre-receive exited with error code 1
To g...@gitorious.org:test-stuff/test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'g...@gitorious.org:test-stuff/
test.git'

i'm the creator(commit, admin, review) of the project test-stuff,
( ssh key already submit to the gitorious.)

Marc Weber

unread,
Jun 30, 2010, 4:47:37 AM6/30/10
to gitorious
Hi sucks,

Excerpts from it sucks's message of Wed Jun 30 03:57:55 +0200 2010:


> ===========================================================
> You do not have write access to this repository
> ========================================================================

Verify that your push url looks like this:

url = git://gitorious.org/nixpkgs/nixpkgs.git

don't use the same SSH key for multiple accounts.

did pushing work previously? Or did it never work for that repo?

Marc Weber

Xobb

unread,
Jul 18, 2010, 4:07:22 AM7/18/10
to Gitorious
Hi,

I've got the same issue. I've installed gitorious, already pushed
several version, but now I get the same notice. I had to reconfigure
gitorious daemons because initial wrong configuration.
Here is what I have:

xobb@linode ~: ps aux | grep gitslave
gitslave 2202 0.0 7.3 184492 36900 ? S Jul17 0:00 /usr/
bin/ruby /opt/gitorious/mainline/script/git-daemon -d
gitslave 2237 0.0 0.0 28096 28 ? S Jul17 0:01
searchd --config /opt/gitorious/mainline/config/ultrasphinx/
production.conf
gitslave 2601 0.1 19.9 196936 100928 ? Sl Jul17 1:56 ruby /
opt/gitorious/mainline/script/poller run
gitslave 7871 0.2 21.8 200664 110420 ? S 07:31 0:05
Passenger ApplicationSpawner: /opt/gitorious/
mainline
gitslave 7876 0.5 23.0 209628 116416 ? S 07:31 0:10
Rails: /opt/gitorious/mainline

gitslave is the user that runs gitorious

Also all my repositories are owned by gitslave:


xobb@linode /opt/repositories: ls -l
total 88
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 21:18 008
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 15:54 038
drwxr-x--- 3 gitslave gitslave 4096 2010-07-17 17:36 051
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 21:52 1ee
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 15:54 2d6
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 21:11 335
drwxr-x--- 3 gitslave gitslave 4096 2010-07-18 07:55 4c6
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 20:47 588
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 20:47 610
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 21:18 6a6
drwxr-x--- 3 gitslave gitslave 4096 2010-07-17 09:40 6ec
drwxr-x--- 3 gitslave gitslave 4096 2010-07-17 09:40 72a
drwxr-x--- 3 gitslave gitslave 4096 2010-07-18 07:55 75f
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 15:54 77c
drwxr-x--- 3 gitslave gitslave 4096 2010-07-17 09:48 7d6
drwxr-x--- 3 gitslave gitslave 4096 2010-07-17 17:36 844
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 21:11 9d2
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 20:47 aa2
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 15:54 b1a
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 15:54 b2c
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 21:46 b6b
drwxr-x--- 3 gitslave gitslave 4096 2010-07-16 20:47 fbb

I have admin, commit and review privileges in gitorious repo
configuration.

What did I miss?
Reply all
Reply to author
Forward
0 new messages