summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/var-lock.mount1
-rw-r--r--units/var-run.mount1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/var-lock.mount b/units/var-lock.mount
index a7668da8bd..17c4f522ad 100644
--- a/units/var-lock.mount
+++ b/units/var-lock.mount
@@ -13,6 +13,7 @@ Before=local-fs.target
What=tmpfs
Where=/var/lock
Type=tmpfs
+Options=mode=775,gid=lock
[Install]
WantedBy=local-fs.target
diff --git a/units/var-run.mount b/units/var-run.mount
index c082507b1a..90dfe0edaa 100644
--- a/units/var-run.mount
+++ b/units/var-run.mount
@@ -13,6 +13,7 @@ Before=local-fs.target
What=tmpfs
Where=/var/run
Type=tmpfs
+Options=mode=755
[Install]
WantedBy=local-fs.target