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

svn copy : inconsistency of WC->URL and URL->URL wrt authz ?

From: LANDAU Samuel - Archos SA <landau_at_archos.com>
Date: 2007-09-12 23:02:30 CEST

Hello,

My server runs subversion 1.4.2 with Apache/WebDAV, which is configured with an
AuthzSVNAccessFile. Here is an excerpt of the access.authz file :

[test:/]
samuel=rw
[test:/tags]
*=
[test:/tags/samuel]
samuel=rw

And now the point with an example :

$ svn list https://subversion/svn/test/trunk/samuel
private/
$ svn list https://subversion/svn/test/tags
svn: PROPFIND request failed on '/svn/test/tags'
svn: PROPFIND of '/svn/test/tags': 403 Forbidden (https://subversion)
$ svn list https://subversion/svn/test/tags/samuel
$ svn copy https://subversion/svn/test/trunk/samuel
https://subversion/svn/test/tags/samuel/v1
svn: PROPFIND request failed on '/svn/test/tags'
svn: PROPFIND of '/svn/test/tags': 403 Forbidden (https://subversion)
$ svn checkout https://subversion/svn/test/trunk/samuel
A samuel/private
A samuel/private/hello
Révision 21 extraite.
$ svn copy samuel/ https://subversion/svn/test/tags/samuel/v1
Révision 21 propagée.
$ svn list https://subversion/svn/test/tags/samuel
v1/
$

So: why for a URL -> URL copy subversion needs to check the parent directory
(/tags/, which is not allowed), while for a WC -> URL copy it does not need to
? Isn't it an inconsistency ? I would expect the same behaviour as for WC ->
URL, since I explicitely allowed path /tags/samuel/ read-write in the
access.authz.

Regards,

-- 
Samuel Landau
---
This  email  and any  files  transmitted  with it are  confidential  and are
intended solely  for the use of the individual  or entity to which  they are
addressed.  Access to this e-mail by anyone else is unauthorised. If you are
not the  intended recipient,  any disclosure,  copying,  distribution or any
action taken or omitted to be taken in reliance on it, is prohibited. E-mail
messages are not necessarily secure.  Archos does not accept  responsibility
for any changes made to this message after it was sent.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 12 22:59:14 2007

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.