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

mod_authz_svn bug with multiple directories

From: Robert Spier <rspier_at_pobox.com>
Date: 2004-03-03 06:23:18 CET

I think I may have found a bug (or at least "user assumption failure")
in mod_authz_svn.

If a user has access to two directories, but not the parent directory,

(i.e.
[/test/level1/level2]
guest = rw
[/test/level1/level2a]
guest = rw
)

a commit to both of those two directories will result in a MERGE
request to the directory above. (/test/level1)

BUT - since the user can't write there, the MERGE result fails.

*kaboom*

-R

client: 0.33.0
server: 1.0.0

...
"svn-commit.3.tmp" 5L, 113C written
Authentication realm: <http://svn.mydomain:80> mydomain
Password for 'guest':
Sending level1/level2/red
Sending level1/level2a/fanta
Transmitting file data ..Authentication realm: <http://svn.mydomain:80> mydomain
Password for 'guest':
Authentication realm: <http://svn.mydomain:80> mydomain
Username: guest
Password for 'guest':
Authentication realm: <http://svn.mydomain:80> mydomain
Username: guest
Password for 'guest':
svn: Authorization failed
svn: Commit failed (details follow):
svn: MERGE request failed on '/test/test/level1'
svn: MERGE of '/test/test/level1': authorization failed (http://svn.mydomain)
svn: Your commit message was left in a temporary file:
svn: '/tmp/q/test/svn-commit.3.tmp'

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 3 06:22:10 2004

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.