git error nas: unable to create temporary object directory
Problem can occur if git init is made as root. Then git folder will have wrong group:
error: Entpacken auf der Gegenseite fehlgeschlagen: unable to create temporary object directory
error: Fehler beim Versenden einiger Referenzen nach 'ssh://nas/volume1/git/braille.git'
Everything up-to-date
ls -Al shows:drwxrwsr-x 7 root root 4096 Sep 23 10:44 braille.git
Global solution:
root@NAS:/volume1# chgrp -R git ./git
Or this one repo only:
root@NAS:/volume1/git# chgrp -R git ./braille.git
Now
ls -Al shows group "git":drwxrwsr-x 7 root git 4096 Sep 23 10:44 braille.git
No comments to display
No comments to display