tags:

views:

39

answers:

1

I am gettting the following error while trying to commit to a local repository:

error: insufficient permission for adding an object to repository database .git/objects

I created another repository to compare the permissions of .git and .git/objects and everything works fine in the new repository, and the permissions are the same (drwxr-xr-x). What might be causing this error?

Thanks.

+1  A: 

Who are the owner/group of the repository, and of the scpecific file/folder you're trying to upload: local and on the server?

oleiade
the owner/group are the same user for the file I am trying to commit.This is a local repository on my machine.