[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 07:49:30 -0500

On Wed, Aug 27, 2014 at 6:36 AM, D'Arcy J.M. Cain <darcy_at_vex.net> wrote:
> I have read the posts about trying to deal with an untrusted root. I
> know that there is no point in even trying. That's not my issue. My
> issue is that sometimes I accidentally commit as root and files get
> changed to root ownership blocking normal access to the repository.
> All I want is something that recognizes root and prevents the commit. I
> don't care if it is easily overcome by root as long as root can choose
> not to do so. In other words, a warning would be good enough.

It's basically a bad idea to use file:// access at all for anything
that might be used under multiple user ids. Maybe even for a single
user... Svnserve or http(s) access have much better access control
and avoid the possibility of accidentally deleting or changing
ownership through filesystem access. And it's also a bad idea to do
things carelessly as root - programs generally can't second-guess

   Les Mikesell
Received on 2014-08-27 14:49:59 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.