Merge pull request #296519 from NixOS/pretix-fixes
nixos/pretix: make state directory world-readable
This commit is contained in:
commit
ce8e7baf9b
1 changed files with 2 additions and 1 deletions
|
@ -468,6 +468,7 @@ in
|
||||||
StateDirectory = [
|
StateDirectory = [
|
||||||
"pretix"
|
"pretix"
|
||||||
];
|
];
|
||||||
|
StateDirectoryMode = "0755";
|
||||||
CacheDirectory = "pretix";
|
CacheDirectory = "pretix";
|
||||||
LogsDirectory = "pretix";
|
LogsDirectory = "pretix";
|
||||||
WorkingDirectory = cfg.settings.pretix.datadir;
|
WorkingDirectory = cfg.settings.pretix.datadir;
|
||||||
|
@ -506,7 +507,7 @@ in
|
||||||
"~@privileged"
|
"~@privileged"
|
||||||
"@chown"
|
"@chown"
|
||||||
];
|
];
|
||||||
UMask = "0077";
|
UMask = "0022";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue