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.