baneface n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Nov 2007 Posts: 1
|
Posted: Mon Nov 26, 2007 8:13 pm Post subject: Svnserve: Authorization failed oh god why? |
|
|
I'm a long-time subversion and gentoo user. However, I've recently emerged subversion on a new box (with the svnserve and apache2 USE flags), and something seems to be very wrong, as you can see from the following shell transcript. Any ideas what's broken here?
Code: |
max@lingua ~ $ svnserve --version
svnserve, version 1.4.5 (r25188)
compiled Nov 26 2007, 13:53:33
Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository back-end (FS) modules are available:
* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.
max@lingua ~ $ rc-status
Runlevel: default
hdparm [ started ]
local [ started ]
net.eth0 [ started ]
netmount [ stopped ]
numlock [ started ]
sshd [ started ]
svnserve [ started ]
syslog-ng [ started ]
vixie-cron [ started ]
max@lingua ~ $ cat /etc/conf.d/svnserve
# The commented variables in this file are the defaults that are used
# in the init-script. You don't need to uncomment them except to
# customize them to different values.
# Options for svnserve
#SVNSERVE_OPTS="--root=/var/svn"
# User and group as which to run svnserve
#SVNSERVE_USER="apache"
#SVNSERVE_GROUP="apache"
max@lingua ~ $ sudo ls -l /var/svn
total 28
-rwxr-xr-x 1 apache apache 229 Nov 26 14:43 README.txt
drwxr-xr-x 2 apache apache 4096 Nov 26 14:44 conf
drwxr-xr-x 2 apache apache 4096 Nov 26 14:43 dav
drwxr-sr-x 5 apache apache 4096 Nov 26 14:43 db
-rwxr-xr-x 1 apache apache 2 Nov 26 14:43 format
drwxr-xr-x 2 apache apache 4096 Nov 26 14:43 hooks
drwxr-xr-x 2 apache apache 4096 Nov 26 14:43 locks
max@lingua ~ $ sudo cat /var/svn/conf/passwd
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.
[users]
# harry = harryssecret
# sally = sallyssecret
max = angma
max@lingua ~ $ ls
linguistica
max@lingua ~ $ svn import -m 'Import' . svn://localhost
svn: Authorization failed
max@lingua ~ $ svn --username max --password angma import -m 'Import' . svn://localhost
svn: Authorization failed
|
|
|