summaryrefslogtreecommitdiff
path: root/src/bluetooth.service.in
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-04-19 11:04:24 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-04-19 11:07:40 -0700
commitedc69d253445fdb5c1562713c160b4731260cc07 (patch)
tree3a7577eddb22375a2a3e55179121d6965d90e0d0 /src/bluetooth.service.in
parentb2db8f0e3a69872c4f10d18d70af260abaebdd57 (diff)
downloadbluez-edc69d253445fdb5c1562713c160b4731260cc07.tar.gz
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=
Diffstat (limited to 'src/bluetooth.service.in')
-rw-r--r--src/bluetooth.service.in1
1 files changed, 1 insertions, 0 deletions
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