[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

1.6.3 BUG: svn does not store passwords to aut/ dir if ~/.subversion is a symlink

From: Jari Aalto <jari.aalto_at_cante.net>
Date: Wed, 12 Aug 2009 16:09:15 +0300

Cf. Debian bug

Would someone confirm, if it's okay to Open bug in

Package: subversion
Version: 1.6.3dfsg-1
Severity: normal

If the ~/.subversion is a symllink, at not read directory, the
credential to log into the server are not saved under
~/.subversion/auth/ directory:

Symlink personal config from elsewhere:

    ln -s ~/my/configs/svn ~/.subversion

Work with svn:

    svn co svn://localhost/repo/test
    cd test
    touch new
    svn add new
    svn ci -m "new: add"

    Authentication realm: <svn://localhost:3690> 808479ac-ab15-46a0-8b30-3077f050203d
    Password for 'foo':
    Authentication realm: <svn://localhost:3690> 808479ac-ab15-46a0-8b30-3077f050203d
    Username: test
    Password for 'test':
    ATTENTION! Your password for authentication realm:

       <svn://localhost:3690> 808479ac-ab15-46a0-8b30-3077f050203d

    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
    Store password unencrypted (yes/no)? yes
    Sending new
    Transmitting file data .
    Committed revision 1.

And repeat

    echo asdasdas > new
    svn ci -m "new: add"

*BUT* the username, password, "Store password unencrypted" questions
are asked again.

The required directory ~/.subversion/auth/ did not appear:

    $ find -L ~/.subversion

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages subversion depends on:
ii libapr1 1.3.7-1 The Apache Portable Runtime Librar
ii libc6 2.9-23 GNU C Library: Shared libraries
ii libsasl2-2 2.1.23.dfsg1-1 Cyrus SASL - authentication abstra
ii libsvn1 1.6.3dfsg-1 Shared libraries used by Subversio

subversion recommends no packages.

Versions of packages subversion suggests:
pn db4.7-util <none> (no description available)
ii patch 2.5.9-5 Apply a diff file to an original
pn subversion-tools <none> (no description available)

Received on 2009-08-12 16:54:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.