On Sat, Mar 15, 2025 at 08:36:48PM +0000, Andy Smith wrote: > Hi, > > On Sat, Mar 15, 2025 at 01:18:45PM -0700, David Christensen wrote: > > On 3/15/25 12:50, Tim Woodall wrote: > > > git fails to preserve ownership, permissions or timestamps. While this > > > may not be relevant to your usecase, for example backing up /etc would > > > be catastrophic (which is why we have etckeeper) > > > > I am curious -- if I make my /etc directory tree into a version control > > system working directory (Git or otherwise), please explain how this would > > be catastrophic. > > /etc has things in it which require specific ownership and permissions.
Git *does* preserve permissions [1]. For the ownerships (and more accurate mtime, atime and ctime) cf. etckeeper. Cheers [1] Unless you have /that/ colleague cloning into a stupid Windows and then pushing. Don't ask me how I know. -- t
signature.asc
Description: PGP signature