4

subversion中passwd下的用户有一定的权限吗?

我可以使用 Mac 上的 Cornerstone 从我的 subversion 存储库下载所有文件。

但是,如果我对文件进行更改并尝试将文件提交回存储库......

基石给了我这个:

Description : You are not authorized to access the files in the repository.
 Suggestion : You might be required to provide a user name and password when prompted before being allowed to access the repository.

Technical Information
=====================

      Error : V4AuthorizationError
  Exception : ZSVNAuthorizationException

Causal Information
==================

Description : Commit failed (details follow):
     Status : 170001
       File : subversion/libsvn_client/commit.c, 867

Description : Authorization failed
     Status : 170001
       File : subversion/svnserve/serve.c, 167

它不会提示我输入用户名和密码...

任何人??

4

5 回答 5

21

我遇到了同样的问题并找到了解决方法。您必须告诉您的钥匙串文件,Cornerstone 应用程序可以使用钥匙串文件(手动执行此操作)。

首先,转到实用程序-> 钥匙串访问。

其次,找到基石钥匙串文件。应该是登录钥匙串,名称应以“Cornerstone”开头。

第三,右键单击钥匙串文件,然后单击“获取信息”。

第四,在弹出的窗口中,选择访问控制选项卡。

第五,单击“允许所有应用程序访问此项目”的单选按钮。

输入您的密码,保存更改。

第六,返回基石并重新输入存储库的用户名和密码。保存更改。

第七,提交您尝试提交的更改。

第八,在 Lawsonry.com 上给我一些爱。=)

于 2013-06-24T14:06:40.147 回答
7

只需删除钥匙串上基石保存的密码即可。它应该工作。

于 2012-03-21T11:54:10.937 回答
4

I had a similar problem on Cornerstone 2.02(i think). There is a bug with keychain option. To fix this you have to unmark save name and password in my keychain check box in Add/Edit Repository option. You will have to enter password every time though, but that's the price for making it work.

于 2012-02-10T13:57:06.937 回答
1

如果您无法在我的钥匙串复选框中取消标记保存名称和密码,您最好手动删除它们。在 Mac Finder 中,转到 --> Ultities--> Keychain Access --> 删除您需要的内容。

于 2013-03-15T10:37:49.997 回答
0

请注意 SVN 中的 URL 区分大小写,因此请删除存储库并使用确切的 URL 重新添加。

请按照屏幕截图进行操作,这应该可以解决您的问题。

删除当前存储库

再次添加存储库

键入区分大小写的存储库名称

于 2018-02-20T14:20:29.540 回答