在Mac上进行Subversion-拒绝从钥匙串获取密码 [英] Subversion on Mac - refuses to get password from keychain
问题描述
在Mac OS X Leopard上-当我尝试从Terminal访问远程存储库时,它总是要求: 1.密码 2.用户名 3.再次输入密码
On Mac OS X Leopard - when I try and access a remote repository from Terminal it always asks for: 1. Password 2. Username 3. Password (again)
显示以下消息:身份验证领域: http://svn.myserver.com:80 Subversion
with the message: "Authentication realm: http://svn.myserver.com:80 Subversion"
我已经检查过,并且我的凭据已存储在钥匙串中,并且SVN可以访问它们.为什么不使用它们?
I've checked and my credentials are being stored in Keychain and SVN has access to them. Why won't it use them?
推荐答案
我通过递归更改Subversion身份验证目录的所有者来解决此问题:
I got this solved by recursively changing the owner of the subversion authentication directory:
sudo chown -R myuser:staff ~/.subversion/auth/
(先前的 user:group 对设置为root:staff
)
您还需要在Subversion配置文件中设置password-stores = keychain
:
You also need to set password-stores = keychain
on subversion configuration file:
~/.subversion/config
这篇关于在Mac上进行Subversion-拒绝从钥匙串获取密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!