Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add force option for replacing existing files #88

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lheckemann
Copy link

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...

@jedesroches
Copy link

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 :)

KiaraGrouwstra added a commit to KiaraGrouwstra/impermanence that referenced this pull request Apr 28, 2024
@KiaraGrouwstra
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants