diff --git a/modules/services/logging/logcheck.nix b/modules/services/logging/logcheck.nix index 30a9bf870e9c..40d736255eca 100644 --- a/modules/services/logging/logcheck.nix +++ b/modules/services/logging/logcheck.nix @@ -11,6 +11,7 @@ let mkdir $out cp -prd ${pkgs.logcheck}/etc/logcheck/* $out/ rm $out/logcheck.* + chmod u+w $out/* '' + optionalString (! builtins.isNull cfg.extraRulesDir) '' cp -prd ${cfg.extraRulesDir}/* $out/ '' );