Reputation: 1186
I am using MacPorts SVN 1.8.9 on 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 rep with svn2ftp which I use to work with developers. It is a nice bridge between version control and the actual site. In ~/.subversion/config
I have:
password-stores = keychain
store-auth-creds = yes
In ~/.subversion/servers
I have
username = myusername
store-passwords = yes
store-plaintext-passwords = yes
But each time a do svn x I am asked for the password for the my OSX username instead of the username added and the password is also not stored in the KeyChain:
svn log
Authentication realm: <http://www.svn2ftp.com:80> repo
Password for 'osx-username':
The password is neither stored elsewhere as plain text. Am I supped to make these changes elsewhere because this SVN is from MacPorts? I would not think so. What am I missing here? A config files rights issue? See here 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
Upvotes: 3
Views: 5560
Reputation: 665
For me the problem was that the keychain already had an entry stored for my credentials, but the access rights were not right.
Deleting the entry in the key chain app and then recreating it by using svn fixed the issue.
Upvotes: 5
Reputation: 1186
In the end I had to make the owner of ~/.subversion/auth/
the user I was using. After that the username and password were stored in the auth folder under /Users/userinqu/.subversion/auth/svn.simple . And yes. It is all working now.
Upvotes: 2