Re: Source control on /etc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux