From f670e1dc23bab2af7fdd8d7121d9f281d744ed1b Mon Sep 17 00:00:00 2001 From: Lucas Savva Date: Sun, 13 Dec 2020 22:33:27 +0000 Subject: [PATCH] nixos/acme: change service umask to 0023 Closes #106603 Some webservers (lighttpd) require that the files they are serving are world readable. We do our own chmods in the scripts anyway, and lego has sensible permissions on its output files, so this change is safe enough. --- nixos/modules/security/acme.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix index d9d8701ac301..70c86d19680b 100644 --- a/nixos/modules/security/acme.nix +++ b/nixos/modules/security/acme.nix @@ -24,7 +24,7 @@ let Type = "oneshot"; User = "acme"; Group = mkDefault "acme"; - UMask = 0027; + UMask = 0023; StateDirectoryMode = 750; ProtectSystem = "full"; PrivateTmp = true;