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

Re: Blocking root from SVN repository

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 27 Aug 2014 10:24:06 -0500

On Wed, Aug 27, 2014 at 10:08 AM, Zé <jose.passes_at_gmx.com> wrote:
> On 08/27/2014 03:53 PM, Les Mikesell wrote:
>>
>> It's not that you can't use it, just that it can't protect you from
>> the things that can happen through direct file system access. Like
>> accidentally deleting the whole repo or changing ownership or
>> permissions.
>
>
> I don't see your point. There's also a likelihood that those accidents can
> happen on a remote server.

Accidents can happen anywhere, but having files that are not writable
by ordinary users greatly reduces the possibility and having them on a
separate machine where only experienced administrators log in at shell
level even more so.

> But regarding my question, if file:// is not intended to be used, as you and
> Stefan Sperling argued, then what are the available options for those who
> need a version control system and can't set up a server? Is it even
> possible to deploy subversion in that scenario?

There is nothing specific about subversion that is a problem with
file:// access. It is just the nature of having direct write access
to anything that makes it a fragile situation. With svn:// or http://
access there is nothing a client can do to delete data or change
access for anyone else. With file access it is as easy as typing 'rm
-rf in the wrong place since you have to have write access to use it
at all.

-- 
   Les Mikesell
      lesmikesell_at_gmail.com
Received on 2014-08-27 17:24:35 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.