-
Notifications
You must be signed in to change notification settings - Fork 5
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
BUG: rm: refusing to remove '.' or '..' directory: skipping '/run/scalpel/.
#1
Comments
I don't use scalpel, but don't use this as is, it'll nuke your system! The |
to be clear, I think this is only the case for the code suggested at the top of this issue and the fork automatically linked above by GitHub which we discussed here: ndarwincorn@6ab08ad#commitcomment-95094918 But be careful in any case |
Sorry, I must have missed this when it was posted. I'll have a look at it. Thanks for the contribution. |
Wow, yeah that is a pretty bad mistake I made 😰 |
Hey, thank you very much for providing a way to customize configuration files that require some sops-managed passwords!
This is exactly what I've been looking for! ❤️
Though, I am having some issues and am relatively new to NixOS so sorry for not being able to provide a minimal example.
Looking at the code, the issue seems to come from
scalpel/modules/scalpel/default.nix
Lines 113 to 124 in 16c2103
Where the shell is safeguarding recursively deleting
.
and..
I've cloned this repository and changed it to:
With inspiration from: https://unix.stackexchange.com/a/77313
Which allowed me to run the flake without any issues. :)
I would be happy to open a PR if you think this change would fix it.
The text was updated successfully, but these errors were encountered: