On Wednesday, April 5, Derek Scherger wrote:
> 
> I think there might be a legitimate reason to commit files as root. I'm
> in the middle of attempting to put my system configuration files (this
> /etc/*) into CVS. These files are owned by root, managed by root, etc.
> but I'd still like to have a root-only repository that will allow me to
> make changes as root. I can see problems with allowing root to use 
> something like :pserver: where the root password is flying around in the
> clear but for a local repository I really don't see any problems.

Nope.  To do this, you want to actually have a "build" system, something
that will build/check the files you have for correctness, and then a way
to "install" them from your build tree, such that the "install" will make
sure that permissions and such are done right, along with the usual things
such as re-building YP, sendmail configs, etc.

Going straight from CVS to /etc/* or webpages or... is a rather foolish
thing to do IMHO.

--Toby.


Reply via email to