問題現象:
mac下的IntelliJ IDEA中svn無法儲存密碼,每次關閉視窗後都需要重新輸入密碼
版本資訊:macOS 10.15.6,IntelliJ IDEA 2020.1.2 (Ultimate Edition),svn 1.10.4
解決方案:
1、網上最多的說法,嘗試無效
打開Settings->Version Control->Subversion
先Clear Auth Cache清理緩存
然後把Enbale interactive mode選上
此方案未生效。
2、MAC鑰匙串方式,嘗試無效
在mac鑰匙串裡删掉已存下來的svn記錄,在下次提示輸入密碼時選擇記住密碼,此方案也未生效。
3、修改svn配置檔案,有效
1)vim ~/.subversion/config
用vim修改以下四個地方
store-passwords = yes
store-plaintext-passwords = yes
store-ssl-client-cert-pp = yes
store-ssl-client-cert-pp-plaintext = yes
2)sudo chmod -R 777 ~/.subversion/auth
3)修改idea的設定 勾選 use custom configuration directory
以上三種方案,有用與否可能與不同的版本環境有關,可以多嘗試下。