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 <[email protected]> wrote: > Bostjan Skufca <[email protected]> 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 >
