On 3/15/25 13:36, Andy Smith wrote:
On Sat, Mar 15, 2025 at 01:18:45PM -0700, David Christensen wrote:
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.
These aren't stored in git or in many other version control systems. It
will be fine until you actually restore anything, at which point the
files will get ownership/group of your user and mode 0644 or 0755
depending upon whether they were executable or not when committed.
Thanks,
Andy
Thank you for the clarification.
David