cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service

Updates #2934

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2021-09-28 09:03:03 -07:00 committed by Brad Fitzpatrick
parent 8949305820
commit 56d8c2da34

View File

@ -15,7 +15,7 @@ Restart=on-failure
RuntimeDirectory=tailscale
RuntimeDirectoryMode=0755
StateDirectory=tailscale
StateDirectoryMode=0750
StateDirectoryMode=0700
CacheDirectory=tailscale
CacheDirectoryMode=0750
Type=notify