User Tools

Site Tools


ubuntu:git:error_insufficient_permissions

Ubuntu - GIT - Error insufficient permissions

Getting this error message during a git push?

Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: pack-objects died of signal 13

This can be fixed by running the following.

ssh me@myserver
cd repository.git
 
sudo chmod -R g+ws *
sudo chgrp -R mygroup *
 
git repo-config core.sharedRepository true
ubuntu/git/error_insufficient_permissions.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki