You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jari Aalto <ja...@cante.net> on 2009/08/12 13:09:15 UTC
1.6.3 BUG: svn does not store passwords to aut/ dir if
~/.subversion is a symlink
Cf. Debian bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541202
Would someone confirm, if it's okay to Open bug in
http://subversion.tigris.org/?
-----------------------------------------------------------------------
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
'/foo/.subversion/servers'.
-----------------------------------------------------------------------
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
/foo/.subversion
/foo/.subversion/README.txt
/foo/.subversion/config
/foo/.subversion/servers
-- 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)
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2382889
Re: 1.6.3 BUG: svn does not store passwords to aut/ dir if
~/.subversion is a symlink
Posted by Senthil Kumaran S <se...@collab.net>.
Jari Aalto wrote:
> Cf. Debian bug
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541202
>
> Would someone confirm, if it's okay to Open bug in
> http://subversion.tigris.org/?
>
> -----------------------------------------------------------------------
> 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:
This was fixed by glasser in r36023 and is not reproducible in trunk. It was
not backported to any of the earlier release branch.
I ve nominated r36023 for backport in 1.6.x and 1.5.x branches via r38742 and
r38743, respectively.
Thank You.
--
Senthil Kumaran S
http://www.stylesen.org/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2383591