On Mon, 22 Apr 2013, Edward Ned Harvey (lopser) wrote:

From: tech-boun...@lists.lopsa.org [mailto:tech-boun...@lists.lopsa.org]
On Behalf Of Dave Close

Ned Harvey wrote:

Question is:  What do you use to version control permission sensitive
files?

What's the matter with the old tried-and-true RCS? It keeps both
permissions and time stamps just fine.

It's been a long time since I used RCS, but as I recall:  RCS is a predecessor to CVS.  
They are both file-based, which makes it difficult to see "the following three cert 
files were all updated at the same time, coinciding with changes to the following httpd 
config files."  But that's just one missing component; I think it also uses a .rcs 
subdirectory (or something) which, as Brian pointed out, wreaks havoc on things like 
modprobe.d, so you either have to specify a non-recursive version change (and 
experimentally discover what other directories you need to exclude) or ...  Well ... 
there isn't much other alternative.

rcs is better than nothing, and it's probably installed on your system.

That said, I would much prefer something git based (like etckeeper). You really do want to know when a set of changes to different files are related. And the ability to pull the history to a different system is quite handy.

David Lang
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
http://lopsa.org/

Reply via email to