SVN Commit failled - Access is denied : 500 Internal Server error

   最近IT做了Vistual SVN服务器的升级,将旧服务器数据迁移到新的服务器,迁移过程很简单,只是将旧SVN的Repository复制到新服务器,再将新服务器的SVN库指向该目录,然后测试,checkout没有问题,但是进行提交却报如下的错:
svn:Commit failled (details follow): svn: Can't open file 'D:\Repositories\test\db\txn-current-lock': Access is denied.

通过查资料找到一条很有用的信息:
It seems that the VisualSVN Server service account ('Network Service' by default) lacks modify NTFS permissions to the repositories root folder ('C:\Repositories') and it's childs.

通过VisualSVN Server Manage,右键properties-->General下有个选项:Automatically adjust permissions,将这个选项的钩去掉,再选上,重启svn服务即可。

猜你喜欢

转载自xafc2370.iteye.com/blog/1681378