clan-cli machines install: chmod files before passing to nixos-anywhere #1647
No reviewers
Labels
No Label
backups
blog
bootstrapping
bug
changes-requested
cli
documentation
duplicate
enhancement
facts
help wanted
invalid
Inventory
low_prio
manager
modules
needs-review
networking
packaging
question
secrets
template
test
tooling
user-testing
vm
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: clan/clan-core#1647
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lassulus/clan-core:lassulus-HEAD"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
should fix #1646
@ -49,2 +49,4 @@
upload_dir.mkdir(parents=True)
secret_facts_store.upload(upload_dir)
upload_dir.chmod(0o700)
for file in upload_dir.glob("*"):
I would use Path.walk(top_down=True, on_error=None, follow_symlinks=False) there, because it can filter by directories and filenames and work recursively.
https://docs.python.org/3/library/pathlib.html#pathlib.Path.walk
Checkout
From your project repository, check out a new branch and test the changes.