We have a repo that was on a windows server that we would access with Source Tree from our local machines. They just migrated that Windows server's data to a Mac server running smb and now we get this error when trying to stage a file on the existing repos or on any newly created repos. I can manually browse to the location and write a file though. I'd appreciate any insight anyone could provide on what could be causing this.
-c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks add -f --
test.txt
error: unable to write sha1 filename .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391: Permission denied
error: test.txt: failed to insert into database
error: unable to index file test.txt
fatal: adding files failed