无法提交到 svn - 访问被拒绝
我正在使用 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
我得到:访问被拒绝
可能是什么问题?
I am working on a small project with SVN.
I checked out the project:
svn co http://mylocalserver/projectx/ .
I made my changes (updated and added files):
svn add file1.php, file2.php
But then, every time I want to commit my changes using this command:
svn commit -m "added file1.php and file2.php and updated the bug #4123" file1.php file2.php gah.php
I get: Access is denied
What can be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您不使用 LDAP 服务器,则必须检查以下内容:
在您的
/path/to/the/project/conf/svnserve.conf
中检查您是否有某些内容例如:您必须更改为使用:
然后在您的
/path/to/the/project/conf/passwd
中您可以创建您的用户:
如果您使用的是 LDAP 服务器,请阅读这些文章:
也许您的密码已过期或者您没有完全的权利去承诺。
也许这些文章会有所帮助:
http://directory.fedoraproject.org/wiki/Howto:Subversion_Apache_LDAP
http://www.mylinuxtips.info/?p=7
If you don't use an LDAP server you have to check this:
In your
/path/to/the/project/conf/svnserve.conf
check if you have something like:You will have to change to use:
then in your
/path/to/the/project/conf/passwd
you can create your users:
If you are using an LDAP server please read these articles:
Maybe your password is expire or you don't have the full rights to commit.
Maybe these articles will help:
http://directory.fedoraproject.org/wiki/Howto:Subversion_Apache_LDAP
http://www.mylinuxtips.info/?p=7
您应该检查
您使用配置的用户名进行提交。默认情况下,Subversion 使用您在发出命令时使用的用户名,但您可以使用
--username
选项指定不同的用户名如果您是存储库管理员,请检查 Subversion 服务器的日志文件以查看出了什么问题
You should check that
you committing using the username which was configured. By default Subversion uses the username you are using when issuing the command, but you can specify a different one with the
--username
optionIf you are the repository administrator check the log file of the Subversion Server to see what went wrong