Git 在samba share 目录无法使用:Permission denied

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.

This entry was posted in Program and tagged . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>