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

Investigate owner/group/perms for generated/updated files #11

Open
CyrilBrulebois opened this issue Aug 23, 2024 · 0 comments
Open

Investigate owner/group/perms for generated/updated files #11

CyrilBrulebois opened this issue Aug 23, 2024 · 0 comments

Comments

@CyrilBrulebois
Copy link
Collaborator

At the moment, all files (except in the WireGuard stack, where 0600 is being enforced everywhere) are created with default metadata, likely 0644. Some of them contain secrets, and should be protected. While doing so, we should make sure each service can still access its own files.

That probably means having to support 3 new attributes in PackageConfigFile:

  • owner, defaulting to root
  • group, defaulting to root
  • perms, defaulting to 0644

and of course careful testing…

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

No branches or pull requests

1 participant