I have a bare local git repository on my laptop (OSX) that I treat as the origin for a clone located on a remote (Window 7) virtual machine over remote desktop (RDP).
To start, I redirected the laptop repository folder in the RDP configuration so it looks like a folder to the virtual machine. With this I have no problem cloning and pulling from the laptop repo. But when I try to push I get the following error:
C:\Proj\repo>git push origin
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (9/9), done.
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object
fatal: sha1 file '<stdout>' write error: Broken pipe
error: failed to push some refs to '//tsclient/bare_for_rdp'
Despite the error, I don't think it is a permission issue on the laptop, since I have made the entire directory world writable. (chmod -R a+w *
). See this post
Also I don't think the broken pipe has any thing to do with buffer size issues since there are no particularly big files.
Any ideas for how to get this to work?
- Microsoft RDP: Version 8.0.6 (Build 24869)
- Remote (VM) git: 2.5.3.windows.1
- OSX: Mavericks (OS X 10.9.5 (13F1112))