From 32487d870d868803cf1e7c421a6414da5c73d85d Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Mon, 25 Nov 2024 13:15:41 -0800 Subject: [PATCH] CreateOrMergeNixConfig: fix expected nix.conf mode to be 644, not 664 We had this bug in various places in the past, but I thought I fixed them all. No clue how it showed up again... --- src/action/base/create_or_merge_nix_config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action/base/create_or_merge_nix_config.rs b/src/action/base/create_or_merge_nix_config.rs index 75d5952e1..7ebbea639 100644 --- a/src/action/base/create_or_merge_nix_config.rs +++ b/src/action/base/create_or_merge_nix_config.rs @@ -18,7 +18,7 @@ use crate::action::{ /// The `nix.conf` configuration names that are safe to merge. // FIXME(@cole-h): make configurable by downstream users? const MERGEABLE_CONF_NAMES: &[&str] = &["experimental-features"]; -const NIX_CONF_MODE: u32 = 0o664; +const NIX_CONF_MODE: u32 = 0o644; const NIX_CONF_COMMENT_CHAR: char = '#'; #[non_exhaustive]