git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: MKCOL fails, 403 error

From
Mike Hommey <mh@glandium.org>
Date
Feb 3, 2008, 14:31 UTC
Message-ID
<20080203143101.GB7946@glandium.org>
In-Reply-To
<eae1aef50802030539l14287c7exa914696755e7ade4@mail.gmail.com>
On Sun, Feb 03, 2008 at 08:39:04AM -0500, Alan Smith wrote:
Show 40 quoted lines
> Hello everyone,
> 
> I am assisting the admin of dsource.org to get git working on their
> server. I have had problems but those were resolved by my upgrading to
> the most recent version of git (who'd have thought Ubuntu would not
> have a version newer than 1.5.2.5?) Let me give you the terminal
> output, the best explanation I have of my problem:
> 
> $ git push upload --force --all -v
> Pushing to http://git.dsource.org/projects/pineapple/
> Getting pack list
> Fetching remote heads...
>   refs/
>   refs/heads/
>    refs/tags/
> updating 'refs/heads/master'
>   from 0000000000000000000000000000000000000000
>   to   aae4714c3d1150974612a9de2f86223dd6882b3c
>     sending 11 objects
>     done
> MKCOL 65f829e3b46d363c07ff4e534bb1a39a6660fa48 failed, aborting (22/403)
>      sent ce937eb2f7092823f0a491fdf0ab449440eb5365
> Updating remote server info
>     sent 367d34569b5d5223db05770d093e23bcc1c0ba89
>     sent c431db074337adc100edbe4be861f599b0d889ad
>     sent 65016e7e3c0d7654d6745b7de6d6a0840dd39150
> 
> In spite of the obvious problem, the 403 error, the user which I used
> to push to the remote server is in the apache group on that server.
> The apache group is both the owner and group of all of the files and
> directories in the git repository. Thus, I see no reason why it is
> getting a 403 error.
> 
> I am pretty sure the MKCOL has something to do with the fact that
> there is a directory in my local git repository which it doesn't seem
> to be able to create in the remote repository.
> 
> I was told to run git-fsck but it doesn't complain when I do run it.
> 
> Does anyone have any ideas?
Do you have access to the apache error_log ?
Mike
Previous: Alan SmithNext: Alan Smith
Message 2 of 4 in “MKCOL fails, 403 error”
  1. Alan SmithFeb 3, 2008
  2. Mike HommeyFeb 3, 2008
  3. Alan SmithFeb 3, 2008
  4. Mike HommeyFeb 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.