Commit 82a6444
authored
CreateOrMergeNixConfig: set expected nix.conf mode to 644, not 664 (#1316)
* CreateOrMergeNixConfig: set expected nix.conf mode to 644, not 664
It has apparently been like this since the start[1], but that was
probably a typo. Let's stop perpetuating it.
[1]: https://github.com/NixOS/nix/blob/121020fc508b5731209cc158986f1e78fb99ed9f/scripts/install-multi-user.sh#L967
* CreateOrMergeNixConfig: don't error when mode is different
When we write out the new or merged config, we'll set it to our expected
mode anyways, so there's no need to error if it's different.1 parent 229832d commit 82a6444
1 file changed
Lines changed: 1 addition & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 150 | | |
164 | 151 | | |
165 | 152 | | |
| |||
0 commit comments