Skip to content

regression: Do not treat / as a "home"#304

Merged
talyz merged 1 commit intonix-community:masterfrom
glaeqen:root-as-home
Jan 20, 2026
Merged

regression: Do not treat / as a "home"#304
talyz merged 1 commit intonix-community:masterfrom
glaeqen:root-as-home

Conversation

@glaeqen
Copy link
Copy Markdown

@glaeqen glaeqen commented Jan 18, 2026

parentDirectory.home was set to / for non-HM managed files which caused / to be given 0700 permissions. This made certain systemd units running as non-root uncapable of accessing the filesystem and at worst rendering the machine unbootable.

`parentDirectory.home` was set to `/` for non-HM managed files which
caused `/` to be given 0700 permissions. This made certain systemd
units running as non-root uncapable of accessing the filesystem and
at worst rendering the machine unbootable.
@glaeqen
Copy link
Copy Markdown
Author

glaeqen commented Jan 18, 2026

I'm not sure how does the test suite didn't catch this or that no one caught this in normal usage because even the /etc/machine-id from README is causing the 0700 on / issue. Am I missing something?

@talyz talyz merged commit 69ecf31 into nix-community:master Jan 20, 2026
5 checks passed
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.

2 participants