[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 11 Nov 2011 09:53:46 +0000

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-11 10:57:41 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.