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

Re: anonymous svn checkout fails in 1.9.4

From: Stefan Hett <stefan_at_egosoft.com>
Date: Fri, 24 Jun 2016 10:38:20 +0200

On 6/23/2016 8:01 PM, Stefan Küng wrote:
> On 23.06.2016 00:19, Ateljevich, Eli_at_DWR wrote:
>> Thanks for the reply, Stefan. It took a while to gather some
>> details. The repository server is using svn version 1.6.18. It is
>> using basic authentication with its own password file. Below is the
>> svn.authz file, and the directory in that we are trying to access
>> anonymously using http is the branches/v5.3 directory.
>>
>> Again, I've tried several operating systems and versions of tortoise
>> on the client end. The server is the same across the experiment. The
>> challenge for authentication happens for tortoise 1.9.x.
>>
>>
>>
>> ____________________________________________________________________
>>
>> [/] $authenticated = rw
>>
>> [/tags] $anonymous = r
>>
>> [/branches/v5.3] $anonymous = r
> Not sure how you've set this up, but "$anonymous" is not really a
> non-authenticated setup. If you want to give read access to anyone,
> you'd have to use
>
> [/branches/v5.3]
> *=r
>
> Anyway, I think I found the problem:
>
> svn 1.9 has a feature named "inherited properties". Which means that
> properties are passed down from parent folders to subfolders
> automatically. You can even set properties on the repository root and
> still have them take effect on e.g. trunk - you don't even have to check
> out from the root.
>
> In this case, svn tries to read the properties from the repository root
> when you do a checkout. And since the repository root has no anonymous
> read access, you're asked for credentials.
>
> To avoid this issue, you'd have to upgrade your server to svn 1.9 as
> well, or make the repository root accessible to anonymous as well.
I take it the requirement would be to have a server version >= 1.8 (not
necessarily 1.9), since inherited properties got introduced in 1.8, no?

-- 
Regards,
Stefan Hett
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3176624
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-06-24 10:38:34 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.