Unverified Commit ce8e7baf authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #296519 from NixOS/pretix-fixes

nixos/pretix: make state directory world-readable
parents 127f03b7 2b003c02
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -468,6 +468,7 @@ in
          StateDirectory = [
            "pretix"
          ];
          StateDirectoryMode = "0755";
          CacheDirectory = "pretix";
          LogsDirectory = "pretix";
          WorkingDirectory = cfg.settings.pretix.datadir;
@@ -506,7 +507,7 @@ in
            "~@privileged"
            "@chown"
          ];
          UMask = "0077";
          UMask = "0022";
        };
      };
    in {