Unable to push to git repository : insufficient permission

Upon git push : am having the following error msg :

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


the fix :

ssh git-server
cd /data/git/projectname
chmod -R g+ws *

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

One Response

  1. SPIce says:

    Thank you for your post.

    I tried to use the NEWLINE=1 – Option first, but it gave me strange output.

    You just saved my day with your little ‘magic’ :o)

    Reply

Anything to add?

X