git error “unable to write sha1 filename … Permission denied” -
i using git on windows. did: doing development on machine m1, created bare repository on usb drive m2 backup repository on m1. did backups using command (from git bash on m1):
git push --mirror "f:\repo"
worked without issues. bought new machine m3. cloned repository m2 m3:
git clone "f:\repo" .
made checkins repo in m3. did (from git bash on machine m3)
git push --mirror "f:\repo"
i error: unable write sha1 filename … permission denied how can fix this?
even if different context (git+ssh), check acl associated repo.
see instance blog post.
as suggested in question "git pull error: unable create temporary sha1 filename" (which has other interesting suggestions well), try redoing bare repo, time config:
git config core.sharedrepository true
Comments
Post a Comment