Skip to content

Commit

Permalink
Group has no business having write access to the nix.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Sep 30, 2024
1 parent 2bcc104 commit 9ab8a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action/base/create_or_merge_nix_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 9ab8a70

Please sign in to comment.