gpt4 book ai didi

linux - svn 权限问题 - txn-current-lock : Permission denied

转载 作者:太空宇宙 更新时间:2023-11-04 09:47:20 32 4
gpt4 key购买 nike

我按照 this 在我的本地系统 /svn/repos/myproject 上设置了 svn教程。我可以在浏览器中查看 repo 协议(protocol)。

但是当它尝试导入新项目时我无法通过 svn 客户端(rapid 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

repo 目录:

→ 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

如何解决这个问题?

最佳答案

我已授予 repos 目录 777 权限,解决了这个问题。但我遇到了另一个问题,例如 Couldn't perform atomic initialization

我认为这是因为 sqlite 版本与我们使用的 subversion 不兼容,这可以通过更新 svnadmin 命令来解决,

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

关于linux - svn 权限问题 - txn-current-lock : Permission denied,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14890062/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com