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