svn - 无法提交到 svn - 访问被拒绝

标签 svn commit

我正在用 SVN 做一个小项目。

我检查了项目:

svn co http://mylocalserver/projectx/ .

我进行了更改(更新和添加的文件):
svn add file1.php, file2.php

但是,每次我想使用此命令提交更改时:
svn commit -m "added file1.php and file2.php and updated the bug #4123" file1.php file2.php gah.php

我得到:Access is denied
可能是什么问题?

最佳答案

如果你不使用 LDAP 服务器,你必须检查这个:

在您的 /path/to/the/project/conf/svnserve.conf检查你是否有类似的东西:

anon-access = none
auth-access = none

您必须更改以使用:
anon-access = none
auth-access = write
password-db = /path/to/passwd

然后在您的 /path/to/the/project/conf/passwd
您可以创建您的用户:
user1 = password

如果您使用的是 LDAP 服务器,请阅读以下文章:

也许您的密码已过期,或者您没有提交的全部权限。

也许这些文章会有所帮助:

http://directory.fedoraproject.org/wiki/Howto:Subversion_Apache_LDAP

http://www.mylinuxtips.info/?p=7

关于svn - 无法提交到 svn - 访问被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8195129/

相关文章:

Git - 错误 : Unable to append to . git/logs/refs/heads/bugfix_artfXX

git - 从提交 ID 中查找 git 分支或分支

asp.net - "Invalid token ' , 结账后 ' in class, struct, or interface"

ssl - 客户端 : While using tortoiseSVN my access to the server is forbidden, 但我在使用浏览器时确实可以访问

git - 使用 Atom 编辑器编写提交消息

git gui 应用程序显示检测到的重命名

git log <filename> 不显示提交,但 git log 显示编辑文件的提交

linux - Joomla - 受版本控制 (svn) 的网站的文件权限和所有者

git - 如何使用 subgit checkout svn+ssh 存储库?

ios - Xcode 10 不支持 Subversion **[SVN]**