Cornerstone SVN 错误 - 无法提交文件
subversion中passwd下的用户是否有一定的权限?
我可以在 mac 上使用 Cornerstone 从我的 subversion 存储库下载所有文件。
但是,如果我对文件进行更改并尝试将文件提交回存储库...
Cornerstone 给了我这个:
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
它不会提示我输入用户名和密码...
有人吗?
Do users under passwd in subversion have certain permissions?
I can download all the files from my subversion repository using Cornerstone on mac.
But, if I make a change to a file and try to commit the file back to the repository...
Cornerstone gives me this:
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
It doesnt prompt me for a username and password...
Anyone??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我遇到了同样的问题并找到了解决方法。您必须告诉您的钥匙串文件,Cornerstone 应用程序可以使用钥匙串文件(手动执行此操作)。
首先,进入实用工具-->钥匙串访问。
其次,找到基石钥匙串文件。应是登录钥匙串,名称应以“Cornerstone”开头。
第三,右键单击钥匙串文件,然后单击“获取信息”。
第四,在弹出的窗口中,选择“访问控制”选项卡。
第五,单击显示“允许所有应用程序访问此项目”的单选按钮。
输入您的密码,保存更改。
第六,返回到基石并重新输入存储库的用户名和密码。保存更改。
第七,提交您所做的更改 )
第八,请在 Lawsonry.com 上给我一些爱 =
I ran into the same issue and found the fix. You have to tell your keychain file that it's okay for the Cornerstone application to use the keychain file (do this manually).
First, go to Utilities--> Keychain Access.
Second, find the cornerstone keychain file. Should be a login keychain and the name should start with "Cornerstone."
Third, Right click the keychain file and click on "Get info."
Fourth, In the window that pops up, select the Access Control Tab.
Fifth, click the radio button that says "Allow all applications to access this item.
Enter your password, save changes.
Sixth, go back to cornerstone and reenter your username and password for the repository. Save changes.
Seventh, Commit the changes you were trying to commit.
Eighth, leave me some love at Lawsonry.com. =)
只需删除钥匙串上的基石保存的密码即可。它应该有效。
Just delete the password saved by cornerstone on your keychain. It should work.
我在 Cornerstone 2.02 上也遇到了类似的问题(我认为)。钥匙串选项存在错误。要解决此问题,您必须取消标记添加/编辑存储库选项中的在我的钥匙串中保存名称和密码复选框。虽然您每次都必须输入密码,但这就是使其正常工作的代价。
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.
如果您无法取消标记“我的钥匙串中的保存名称和密码”复选框,您最好手动删除它们。从 Mac Finder 中,转到 -->公用事业-->钥匙串访问 -->在这里删除你需要的内容。
if you cannot unmark save name and password in my keychain checkbox, you'd better delete them manually. From Mac Finder, Go --> Ultities--> Keychain Access --> delete what you need here.
请注意 SVN 中的 URL 区分大小写,因此请删除存储库并使用准确的 URL 重新添加。
请按照屏幕截图操作,这应该可以解决您的问题。
Please take care that URLs in SVN are case-sensitive, so kindly remove the repository and add it again with the exact URL.
Please follow the screenshots, this should fix your issue.