I came across git error
unable to write sha1 filename
.git/objects/42/e819f886bf31b67c42249a0eff8e8b16cf7611: Permission denied.
This happens each time I pull Git repos and modify some of my colleague's files, then push them to origin master. My colleague has the same error if do my way. I tried to init git repos, but the error happen again with above action. (This error never happened before).
I also tried other ways as members suggest here, like change auth to 777, or open git bash with admin identity, but all in vain. We use TortoiseGit, and git server is built on NAS Synology.