From edc69d253445fdb5c1562713c160b4731260cc07 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 19 Apr 2022 11:04:24 -0700 Subject: [PATCH] bluetooth.service: Set StateDirectoryMode This sets StateDirectoryMode to 0700 as it is the current mode used for creating files inside the storage and it is different than the default systemd uses which is 0755: [1] https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectoryMode= --- src/bluetooth.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in index 4d39ad49d..4ea98b506 100644 --- a/src/bluetooth.service.in +++ b/src/bluetooth.service.in @@ -20,6 +20,7 @@ PrivateTmp=true ProtectKernelTunables=true ProtectControlGroups=true StateDirectory=bluetooth +StateDirectoryMode=0700 ConfigurationDirectory=bluetooth # Execute Mappings -- 2.47.3