Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [git] error: insufficient permission for adding an object to repository database

Thank you all for your help.  Updating permissions on the objects directory fixed the problem.

-Pawel


On 09/29/2011 06:08 AM, Kim Moir wrote:
The repo is set up as a shared repository.

kmoir@build:/gitroot/platform/eclipse.platform.debug.git> git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=true
core.sharedrepository=1





From:        Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx>
To:        "Git related discussions,        specifcally migration help for projects at Eclipse.org" <git@xxxxxxxxxxx>
Date:        09/28/2011 07:13 PM
Subject:        Re: [git] error: insufficient permission for adding an object to repository database
Sent by:        git-bounces@xxxxxxxxxxx




On Wed, Sep 28, 2011 at 7:05 PM, Steffen Pingel <steffen.pingel@xxxxxxxxxxx> wrote:
We have seen similar errors on Mylyn when committers used the http
protocol to push changes. File ownership was not always as expected in
this case.

From a quick glance at
/gitroot/platform/eclipse.platform.debug.git/objects this might be a
different problem though. It doesn't look like the repository was
properly setup as a shared repository.

I would recommend asking the webmaster to fix file and directory permissions.


And as well/after the permissions are reset, make sure that the
git.eclipse.org repo has the shared repo flag set:

core.sharedrepository=1


--
Paul Webster
Hi floor.  Make me a sammich! - GIR
_______________________________________________
git mailing list
git@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/git

_______________________________________________ git mailing list git@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/git


Back to the top