SVN does not store password and username

I am using MacPorts SVN 1.8.9 for OSX Mavericks:

svn --version
svn, version 1.8.9 (r1591380)
   compiled May 15 2014, 11:06:03 on x86_64-apple-darwin13.1.0

      

I have a reputation with svn2ftp that I use to work with developers. This is a good bridge between version control and the actual site. In ~/.subversion/config

I have:

password-stores = keychain
store-auth-creds = yes

      

As ~/.subversion/servers

I have

username = myusername
store-passwords = yes
store-plaintext-passwords = yes

      

But every time I do svn x, I am prompted for a password for my OSX username instead of the username appended, and the password is not stored in KeyChain either:

svn log
Authentication realm: <http://www.svn2ftp.com:80> repo
Password for 'osx-username': 

      

The password is not saved anywhere as plain text. Can I make these changes elsewhere because this SVN is from MacPorts? I wouldn't think so. What am I missing here? Configuration file permissions issue? See here for the permissions:

ls -la
total 48
drwxr-xr-x    6 root    staff   204 Jan 23  2010 .
drwxr-xr-x+ 150 jasper  staff  5100 Jun 27 12:31 ..
-rw-r--r--    1 root    staff  4276 Jan 23  2010 README.txt
drwxr-xr-x    6 root    staff   204 Jan 23  2010 auth
-rw-r--r--    1 root     staff  6486 Jul  8 14:00 config
-rw-r--r--    1 root    staff  7684 Jul  8 13:52 servers

      

under /Users/jasper/.subversion

+2


source to share


2 answers


Eventually I had to make the owner the ~/.subversion/auth/

user I was using. After that, the username and password were saved in the auth folder under the /Users/userinqu/.subversion/auth/svn.simple directory. And yes. Everything is working now.



+1


source


The problem for me was that there was already an entry in the keychain stored for my credentials, but the permissions were wrong.



Deleting the entry in the keychain app and then recreating it with svn fixes the problem.

0


source







All Articles