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
commit 0a53886700
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
};
};