9:07:37 AM Push failed
remote: error: insufficient permission for adding an object to repository database ./objects
error: unpack failed: unpack-objects abnormal exit
error: failed to push some refs to ‘norris.shelton@192.168.251.1:/repos/prototype/webservice.git’
git config core.sharedRepository
Look for the following in the output
group or true or 1 or some mask
If not, then run the following (may have to be root)
git config core.sharedRepository group
Then run the following to set the owner, group to whatever you need
sudo chown -R appbuilder:developers * sudo chmod -R g+rw *
To avoid this problem, type the following to create the repository as a shared repo
git init --shared <name>.git
–shared did not work for us. We had to create it using just –bare, then follow the instructions in your blog. Finally, we had to run the following command:
sudo chmod -R +t igs.git/