data: Use the correct mode for the state dir

The code (in file_storage.c) expects mode 0700. However, systemd
defaults to 0755. This causes strange behavior.

https://bugs.archlinux.org/task/68932
This commit is contained in:
Jan Alexander Steffens (heftig)
2021-01-19 22:18:55 +00:00
parent 0e428d34ec
commit 6fd1aa51cd

View File

@ -13,6 +13,7 @@ ProtectKernelTunables=true
ProtectControlGroups=true ProtectControlGroups=true
# This always corresponds to /var/lib/fprint # This always corresponds to /var/lib/fprint
StateDirectory=fprint StateDirectory=fprint
StateDirectoryMode=0700
ProtectHome=true ProtectHome=true
PrivateTmp=true PrivateTmp=true