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

Re: Concurrent access via file and dav

From: Hendrik Fuß <hendrik.fuss_at_gmail.com>
Date: Thu, 22 Dec 2011 12:22:06 +0100

Am 22.12.2011 um 12:05 schrieb Mat Booth:
> On 22 December 2011 10:37, Hendrik Fuß <hendrik.fuss_at_gmail.com> wrote:
>> Am 22.12.2011 um 11:24 schrieb vishwajeet singh:
>>
>> On Thu, Dec 22, 2011 at 2:23 PM, Hendrik <hendrik.fuss_at_gmail.com> wrote:
>>>
>>> Hi folks,
>>>
>>> is it safe to access a repository via local file:// protocol on a
>>> server that also runs apache2 and mod_dav_svn? I'd like to create tags
>>> locally on the server to avoid some authentication headaches.
>>
>>
>> If you are not doing any write operations that should be just fine.
>>
>>
>> Good. Trouble is, I want to do write operations, e.g. svn copy. Is it safe
>> to do that with subversion?
>
> Why not just use the http:// scheme from localhost? That way, write
> operations should be as safe as from any other client machine. The
> file:// scheme is really only safe for a single-user.

It would be convenient. The only reason is that authentication (via Apache/DAV) can get a bit complex in my setup. If I use local file access, I could skip authentication.

Anyway, that is an answer to my question. So I'll have to sit down and figure out how to tweak my apache config to allow localhost access without authentication.

Thanks for your help!

bye
Hendrik
Received on 2011-12-22 12:22:45 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.