2013-02-15 121 views
0

我在本地系统/svn/repos/myproject上按照this教程设置了svn。我可以在浏览器中查看回购。svn权限问题 - txn-current-lock:权限被拒绝

但是,当它试图导入新的项目,我无法通过svn客户端(快速SVN)它显示了以下错误:

Execute: Import 
Error while performing action: 
Can't open file '/svn/repos/myproject/db/txn-current-lock': Permission denied 

SVN目录权限:

→ ls -l /svn 
total 12 
drwxrwxr-x 2 root root 4096 Feb 15 12:09 permissions 
drwxrwxr-x 4 apache apache 4096 Feb 15 12:09 repos 
drwxrwxr-x 2 root root 4096 Feb 15 12:09 users 

回购目录:

→ ls -l 
total 8 
drwxrwxr-x 3 root root 4096 Feb 15 12:09 conf 
drwxrwxr-x 7 apache apache 4096 Feb 15 12:09 myproject 

如何解决这个问题?

回答

2

我已经给777许可repos目录解决了这个问题。但我有另一个问题,如Couldn't perform atomic initialization

我认为这是由于不兼容的SQLite版本与我们使用的颠覆,这可以通过更新svnadmin的命令来解决,

svnadmin create --pre-1.6-compatible --fs-type fsfs /svn/repos/myproject