summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-16 18:58:52 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-16 18:58:52 +0200
commitbb4f237c651623ca2b523fb3ac14268fac9bb487 (patch)
tree203503b4ebb44098a67a6d897beeb2eca35763fe /units
parent6c155fe3d0634f636e76188b378da174ba02ef52 (diff)
units: fix default mode of /var/run and /var/lock
Diffstat (limited to 'units')
-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