SVN权限修复


Description : Commit failed (details follow):
Suggestion : The operation could not be completed.

Technical Information
=====================

Error : V4Error
Exception : ZSVNException

Causal Information
==================

Description : Commit failed (details follow):
Status : 13

Description : Can't open file '/Users/svnserver/AutoPackage/db/txn-current-lock': Permission denied
Status : 13

 

解决办法:

因为在创建版本库的时候用的是root权限,所以svn用户就更新不了db/目录下的文件了(因为提交会更新SVN服务器上版本库中的db/目录)。解决方案就是把db/目录下的文件都修改成svn用户并修改读写权限。

cd /data/svn/repo

sudo chown 访问SVN的用户名 -R db/

sudo chmod 777 -R db/

 

再次提交,OK!

posted @ 2013-11-05 15:23  GreyWolf  阅读(1379)  评论(0编辑  收藏  举报