[arch-general] Source control on /etc

Dennis Börm allspark at planetcyborg.de
Thu Feb 23 11:43:58 EST 2012


On 02/23/2012 05:36 PM, Taylor Hedberg wrote:
> Alfredo Palhares, Thu 2012-02-23 @ 17:24:01+0100:
>> Excerpts from Matthew Monaco's message of Thu Feb 23 17:08:46 +0100
>> 2012:
>>> What about permissions and ownership? These are pretty important for
>>> /etc.
>> What about those ? Git doesn't care about permissions, the only
>> permissions that git stores is the executable bit.
> 
> But that's problematic for files in /etc, many of which require specific
> ownership or mode bits set/unset. You don't want your VCS to elide the
> fact that /etc/shadow should only be readable by root, for instance.
> 
> I don't think Git will change permissions on existing files in your
> working directory, but if you ever cloned your /etc repo onto another
> machine, the permissions would be screwed up.


Hi

we're using

http://joey.kitenet.net/code/etckeeper/

for that purpose

greets,
Dennis


More information about the arch-general mailing list