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

Re: Permissions need for deletion

From: Vacelet, Manuel <manuel.vacelet_at_enalean.com>
Date: Thu, 25 Aug 2016 10:50:24 +0200

On Wed, Aug 24, 2016 at 5:46 PM, Vacelet, Manuel <manuel.vacelet_at_enalean.com
> wrote:

> oops I hit shift+enter :/
> see my message below
>
> On Wed, Aug 24, 2016 at 5:44 PM, Vacelet, Manuel <
> manuel.vacelet_at_enalean.com> wrote:
>
>> Hi all,
>>
>> I got a machine that was bumped from 1.6.x (centos6 default) to 1.8.16
>> (thanks wandisco!).
>> I identified a change of behaviour but failed to find an explanation in
>> book or change log.
>>
>> Here we go, given a SVNAccessFile like:
>>
>
> ------------->8-------------
> [groups]
> members = alice
> admin = bob
>
> [/]
> * =
> @members = r
> @admin = rw
>
> [/tags]
> @members = rw
> -------------8<-------------
>
> WIth svn 1.6, as alice, I cannot rm /tags
> Whereas with svn 1.8 I now can.
>
> Is this detailed somewhere ?
>

Fun fact: the behaviour change also depending on the version of svn client
used.
For a given svn 1.8 server, I can delete /tags with svn 1.7, 1.8 & svn 1.9
client but not with svn 1.6.
I failed to find in 1.7 release note something that explains this change.

For references, the httpd traces:

client 1.6 / server 1.8
172.17.42.6 - - [25/Aug/2016:08:29:07 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 401 501
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 200 196
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/tags HTTP/1.1" 207 700
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/!svn/vcc/default HTTP/1.1" 207 414
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/!svn/bln/7 HTTP/1.1" 207 465
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/!svn/bc/7/tags HTTP/1.1" 207 710
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/tags HTTP/1.1" 207 700
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/!svn/vcc/default HTTP/1.1" 207 414
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo/!svn/bln/7 HTTP/1.1" 207 465
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "MKACTIVITY
/svntest/fakerepo/!svn/act/62c9c93e-15c7-4a03-9e1e-2ec445366e1d HTTP/1.1"
201 337
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "CHECKOUT
/svntest/fakerepo/!svn/vcc/default HTTP/1.1" 201 351
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPPATCH
/svntest/fakerepo/!svn/wbl/62c9c93e-15c7-4a03-9e1e-2ec445366e1d/7 HTTP/1.1"
207 468
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "PROPFIND
/svntest/fakerepo HTTP/1.1" 207 399
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "CHECKOUT
/svntest/fakerepo/!svn/ver/7/ HTTP/1.1" 403 330
172.17.42.6 - alice [25/Aug/2016:08:29:07 +0000] "DELETE
/svntest/fakerepo/!svn/act/62c9c93e-15c7-4a03-9e1e-2ec445366e1d HTTP/1.1"
204 -

client 1.7 / server 1.8
172.17.42.8 - - [25/Aug/2016:08:37:34 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 401 501
172.17.42.8 - alice [25/Aug/2016:08:37:34 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 200 196
172.17.42.8 - alice [25/Aug/2016:08:37:34 +0000] "PROPFIND
/svntest/fakerepo/tags HTTP/1.1" 207 700
172.17.42.8 - alice [25/Aug/2016:08:37:34 +0000] "POST
/svntest/fakerepo/!svn/me HTTP/1.1" 201 -
172.17.42.8 - alice [25/Aug/2016:08:37:34 +0000] "PROPPATCH
/svntest/fakerepo/!svn/txn/11-e HTTP/1.1" 207 434
172.17.42.8 - alice [25/Aug/2016:08:37:34 +0000] "DELETE
/svntest/fakerepo/!svn/txr/11-e/tags HTTP/1.1" 204 -
172.17.42.8 - alice [25/Aug/2016:08:37:34 +0000] "MERGE /svntest/fakerepo
HTTP/1.1" 200 485

client 1.9 / server 1.8
172.17.42.1 - - [25/Aug/2016:08:29:41 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 401 501
172.17.42.1 - alice [25/Aug/2016:08:29:41 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 200 196
172.17.42.1 - alice [25/Aug/2016:08:29:41 +0000] "OPTIONS
/svntest/fakerepo/tags HTTP/1.1" 200 97
172.17.42.1 - alice [25/Aug/2016:08:29:41 +0000] "PROPFIND
/svntest/fakerepo/tags HTTP/1.1" 207 325
172.17.42.1 - alice [25/Aug/2016:08:29:41 +0000] "POST
/svntest/fakerepo/!svn/me HTTP/1.1" 201 -
172.17.42.1 - alice [25/Aug/2016:08:29:41 +0000] "DELETE
/svntest/fakerepo/!svn/txr/7-a/tags HTTP/1.1" 204 -
172.17.42.1 - alice [25/Aug/2016:08:29:41 +0000] "MERGE /svntest/fakerepo
HTTP/1.1" 200 754
Received on 2016-08-25 10:50:37 CEST

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.