我正在用 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/