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

Problem with mod_authz_svn

From: Greg Martyn <gmartyn_at_verizon.net>
Date: 2004-04-18 02:48:42 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It looks like something wrong with mod_authz_svn.. I really don't see what I
could be doing wrong. My repository should allow only me to read/write to it,
but it fails when I try to write to it.

Just to check what url I am committing to:
[greg@localhost CareCircle.com]$ svn info
Path: .
URL:
http://homecomp.gregmartyn.com:8080/svn/My%20Documents/Work/CareCircle.com
<snip>

This is the version string. I am using Ben Reser's RPMs for Mandrake 10
(1.0.1-1mdk):
[greg@localhost CareCircle.com]$ svn --version
svn, version 1.1.0 (dev build)
   compiled Apr 2 2004, 00:47:30
<snip>

I was able to reproduce this error with SVN for Windows:
C:\>svn --version
svn, version 1.0.1 (dev build)
   compiled Mar 25 2004, 16:25:21
<snip>

Showing a directory listing of that url. Requires me to login. Everything is
as expected:
[greg@localhost CareCircle.com]$ svn ls
http://homecomp.gregmartyn.com:8080/svn/My%20Documents/Work/CareCircle.com
- --username Greg
Authentication realm: <http://homecomp.gregmartyn.com:8080> Subversion
repository
Password for 'Greg':
CareCards.doc
Just the top with new nav bar.psd
<snip>

Here is where it fails. I try to do a commit. It asks me to login and
proceeds, but then unexpectedly asks me to login again and fails.
[greg@localhost CareCircle.com]$ svn ci -m "Organization + how to start an exe
from asp" --username Greg
Authentication realm: <http://homecomp.gregmartyn.com:8080> Subversion
repository
Password for 'Greg':
Deleting CareCircle.com/Just the top with new nav bar.psd
Adding (bin) CareCircle.com/Nav Bar/Source Documents/Just the top with new
nav bar.psd
Authentication realm: <http://homecomp.gregmartyn.com:8080> Subversion
repository
Password for 'Greg':
Authentication realm: <http://homecomp.gregmartyn.com:8080> Subversion
repository
Username: Greg
Password for 'Greg':
Authentication realm: <http://homecomp.gregmartyn.com:8080> Subversion
repository
Username: Greg
Password for 'Greg':
svn: Commit failed (details follow):
svn: COPY of Nav Bar/Source Documents/Just the top with new nav bar.psd:
authorization failed (http://homecomp.gregmartyn.com:8080)

The AuthzSVNAccessFile looks like this. My Documents is the one we're
interested in:
- ------------------------------------
[CareCircle:/]
* = r
Greg = rw

[www:/]
* =
Greg = rw

[My Documents:/]
* =
Greg = rw
- ------------------------------------

I have tried changing the line:
[My Documents:/]
to:
[My%20Documents:/]
and
[My\ Documents:/]
but neither works.

Any help would be appreciated.

- --Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAgdBtTbK6opmKUmoRAjZyAJ9M1nFy0qHK44PQvexnAv/oXuEcNwCfX/Qb
6SEaIIkObZ+Qx5w3s1nkp40=
=qFbv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 18 02:49:12 2004

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

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