From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> 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.35.1