Reputation: 485
I have setup a git server on an ubuntu server machine.
Everything seems to work OK, and I am able to pull/push from other machines via ssh.
What is the problem is when I try to add other users to the server.
I create their accounts and they are able to pull, but when they try to push they get a message:
error: remote unpack failed: unable to create temporary object directory
I read online that this usually has to do with disk space on the remonte machine, but it's not the case here.
I suspect something with permissions, but i cannot find anything!
Upvotes: 2
Views: 129
Reputation: 1323203
Make sure to create your repository with:
core.sharedRepository
set to group
(or true
)You can see a full example in "Git: Sharing a single git controlled folder among a group under Linux".
You cal also change the permissions of your existing repository to make sure it is accessible by that one common group.
Upvotes: 1