diff --git a/nixos/modules/services/logging/logrotate.nix b/nixos/modules/services/logging/logrotate.nix index 8584563d881d..412a19eadd11 100644 --- a/nixos/modules/services/logging/logrotate.nix +++ b/nixos/modules/services/logging/logrotate.nix @@ -285,9 +285,9 @@ in RestrictSUIDSGID = false; # can create sgid directories SystemCallArchitectures = "native"; SystemCallFilter = [ - "@system-service @setuid" + "@system-service" "~@privileged @resources" - "@chown" + "@chown @setuid" ]; UMask = "0027"; } // lib.optionalAttrs (!cfg.allowNetworking) {