nixos/{tmpfiles, wrappers}: explicitly set RestrictSUIDSGID false (#426882)

This commit is contained in:
Will Fancher
2025-07-30 04:31:21 -04:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -318,6 +318,7 @@ in
"/nix/store"
"/run/wrappers"
];
serviceConfig.RestrictSUIDSGID = false;
serviceConfig.Type = "oneshot";
script = ''
chmod 755 "${parentWrapperDir}"

View File

@@ -280,6 +280,7 @@ in
"network.hosts"
"ssh.authorized_keys.root"
];
RestrictSUIDSGID = false;
};
};