Git over samba - unable to write sha1 filename | Permission denied
When I am using git over samba share on windows I get an error when i want to commit a file via git_extentions or tortoiseGIT. The error is: error: unable to write sha1 filename .git/objects/b4/e819f886bf31b67c42249a0eff8e8b16cf7622: Permission denied . When I add the file via the ubuntu server and commit the file it works fine. I am also working in a banrch. I have already tryed chmod 777 the whole .git folder . I've seen this, too. It's a git defect, likely to do with how it creates and modifies files. To clarify the problem: # mount a samba share locally. $ mount -t cifs options //share