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

Re: AW: Unable to delete directory in repository, server version 1.7.1

From: Bostjan Skufca <bostjan_at_a2o.si>
Date: Sat, 12 Nov 2011 03:20:01 +0100

Nope, first step already fails (commit 3) if there are "[/]\n* = r" lines
present in authz file.

It works if I create authz file like this (note the usage of rw everywhere):
[/A/B]
pm = rw

[/X/Y]
pm = rw
---------------------------------

It DOES NOTwork if I create authz file like this:
[/A/B]
pm = rw

[/X/Y]
pm = r
---------------------------------

Any further ideas?

Thanks for the test/hints though,
b.

On 11 November 2011 10:53, Philip Martin <philip.martin_at_wandisco.com> wrote:

> Bostjan Skufca <bostjan_at_a2o.si> writes:
>
> > Well, in my case, it is all lower-case all the time. Is there any other
> way
> > to double check this? I checked with "svn ls ..." every component of path
> > to be lower case, and it was. authz file is also in lower case
> completely.
> > Still, delete as described before does not work.
>
> Here is a working setup on my system:
>
> svnadmin create repo
> svn mkdir -mm --parents file://$PWD/repo/A/B
> svn mkdir -mm --parents file://$PWD/repo/X/Y
> cat - > repo/conf/svnserve.conf <<EOD
> [general]
> auth-access = write
> anon-access =
> password-db = passwd
> authz-db = authz
> EOD
> cat - > repo/conf/passwd <<EOD
> [users]
> pm = mp
> EOD
> cat - > repo/conf/authz <<EOD
> [/A/B]
> pm = rw
> [/]
> * = r
> EOD
> svnserve -dr.
>
> Then:
>
> svn cp -mm --username pm --password mp svn://localhost/repo/X/Y ^/A/B/C
> Committed revision 3.
>
> svn rm -mm --username pm --password mp svn://localhost/repo/A/B/C
> Committed revision 4.
>
> svn cp -mm --username pm --password mp svn://localhost/repo/X/Y ^/A/C
> svn: E220004: Access denied
>
> svn rm -mm --username pm --password mp svn://localhost/repo/A/B
> svn: E220004: Access denied
>
> Does that exact setup work on your machine? If it does work then
> gradually change it to look like your non-working system and tell us at
> which point it stops working.
>
> --
> Philip
>
Received on 2011-11-12 03:20:34 CET

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.