이상학의 개발블로그

[SVN] svn checkout 에러 Store password unencrypted (yes/no) 본문

Dev Tools

[SVN] svn checkout 에러 Store password unencrypted (yes/no)

학학이 2016. 9. 5. 18:40


Problem
Ubuntu 서버에 svn을 설치하고 저장소에서 checkout 받으려고 
$ svn checkout {SVN주소}
입력하면 다음과 같은 이상한 문제를 접할 수 있다.



ATTENTION! Your password for authentication realm:

  <svn://{svn 저장소 url}> {SVN 이름}

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/lsh/.subversion/servers'.
Store password unencrypted (yes/no)?



분명 yes를 입력했는데 같은 말만 반복한다.
혹시 몰라 no를 입력해도 그런다. 
작은 따옴표까지 붙여봤지만, 계속 다음으로 넘어가지 않는다.


말해 yes or no





Solution
vi 로 $HOME/.subversion/servers 파일을 열고
다음 두 가지 값을 주석풀고 yes로 바꾼다.

1
2
store-passwords = yes
store-plaintext-passwords = yes
cs

기존 파일을 변경할 때는 바로 변경하지 않고 변경하려는 라인을 복사한 후 주석처리하고 새로운 내용을 쓴다.


$ vi ~/.subversion/servers


$ svn checkout {SVN주소} 
다시 시도하고 yes 입력하면 잘 넘어간다.


Comments