impermanence icon indicating copy to clipboard operation
impermanence copied to clipboard

Add `force` option for replacing existing files

Open lheckemann opened this issue 2 years ago • 2 comments

I wrote this in hopes that I could manage /etc/shadow with impermanence. Unfortunately, this does not play along with the rename-based atomic update mechanism applied by both passwd and nixos's update-users-groups.pl, so I don't have a good example to use in the documentation...

lheckemann avatar Mar 26 '22 17:03 lheckemann

This would definitely be cool! An example application is tracking the /var/lib/systemd/timesync/clock file. Tracking the directory is a workaround, but I like being specific and this would help :)

jedesroches avatar Dec 22 '23 21:12 jedesroches

as others linked here might wonder as well, what might be alternatives for shadow (/ passwd)? perhaps as a bonus question: is there a way one might check if such a particular file should work with this, or fall into a similar category as those exceptions?

KiaraGrouwstra avatar Apr 28 '24 15:04 KiaraGrouwstra