client:
winxp sp3
git version 1.7.7.1
samba server:
samba-3.0.33-3.28.el5
Linux localhost 2.6.18-194.el5xen
总是会有这样的提示:
git error “unable to write sha1 filename … Permission denied”
就算把目录设为0777,结果还是一样的
在网上找了一圈,一样的问题也不少,最终解决到的没几个,比如下面这个:
http://groups.google.com/group/tortoisegit-users/browse_thread/thread/f9b1a2c2f78271a3?pli=1
> Git default allow push to bare repository only. INDEX will no update
> if push to current branch.
thanks for pointing this out. I should have read the help more
carefully
now I set up a bare repo and everything works just fine.
没办法,只有也在SERVER也安装了GIT.