Grant minecraft access to its state directory

This commit is contained in:
Charlotte 🦝 Delenk 2022-02-20 08:31:24 +01:00
parent 83f9006f35
commit 648a969c1e
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -71,6 +71,7 @@ in
RuntimeDirectory = "minecraft"; RuntimeDirectory = "minecraft";
RuntimeDirectoryMode = "0755"; RuntimeDirectoryMode = "0755";
UMask = "0027"; UMask = "0027";
ReadWritePaths = [ cfg.stateDir ]; # Grant access to the state directory
CapabilityBoundingSet = ""; CapabilityBoundingSet = "";
# Security # Security
NoNewPrivileges = true; NoNewPrivileges = true;