Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Access denied or bad repository path for "admin"
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Kjeldahl Nilsson  
View profile  
 More options Aug 22 2012, 2:29 pm
From: Thomas Kjeldahl Nilsson <tho...@gitorious.com>
Date: Wed, 22 Aug 2012 20:29:45 +0200
Local: Wed, Aug 22 2012 2:29 pm
Subject: Re: [gitorious] Access denied or bad repository path for "admin"
Hi Ben,

sounds like it might be a permissions/ownership issue. The first thing
you can check:

- Which user/group owns the repo base path (specified in
config/gitorious.yml, specifies the dir under which all repositories are
stored). Should be owned by the 'gitorious_user' specified in
/config/gitorious.yml
- Now, which user is running the gitorious scripts (git-daemon etc)?
Should be the same user as below.

(My hunch is that the repo base folder is owner by root or some other
user than the one owning/running the gitorious processes)

cheers,
Thomas

On 08/22/2012 08:17 PM, Bennit wrote:

> I installed gitorious successfully on my own host. I created a project
> with 3 repositories.

> First I cloned it via the ssh-link, added some files, did a commit and
> tried to push changes. This said the url is readonly.

> Then I tried following the "getting started" commands you see on fresh
> repositories on the gitorious instance.
> So I created a repository, added some files, did a commit and then I
> added the remote source. (copy paste commands, so I'm sure there're no
> typo's)
> Then finally: git push origin master

> => "access denied or wrong repository path"

> my ssh-key is added:
> $ ssh -T g...@git.myhost
> Welcome, admin. Use git to push/pull your repositories

> So authentication works. I wondered if perhaps it was an ssl problem,
> but as far as I know of git protocol or ssh protocol don't have
> anything to do with ssl.
> I tried using the https url and then indeed it complains that the
> certificate couldn't be certified (as it is a self-signed one).

> So finally I take a look at the logs from gitorious, gitorious-auth log:
> I, [2012-08-22 20:02:07#18243]  INFO -- : Connection from
> "78.22.254.163 52366 22" (admin): git-receive-pack 'home/website.git'
> I, [2012-08-22 20:02:07#18243]  INFO -- : Access denied or bad
> repository path for "admin": "git-receive-pack 'home/website.git'"

> That's about all I could think of checking on top of my head. Any
> further ideas?

> Ben.
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscribe@googlegroups.com

--
best regards,
Thomas Kjeldahl Nilsson
http://gitorious.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.