From bb4f237c651623ca2b523fb3ac14268fac9bb487 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 16 Jul 2010 18:58:52 +0200 Subject: [PATCH] units: fix default mode of /var/run and /var/lock --- units/var-lock.mount | 1 + units/var-run.mount | 1 + 2 files changed, 2 insertions(+) diff --git a/units/var-lock.mount b/units/var-lock.mount index a7668da8..17c4f522 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 c082507b..90dfe0ed 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 -- 2.39.5