aboutsummaryrefslogtreecommitdiffstats
path: root/lsb-bootscripts/etc
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-12-23 19:04:27 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-12-23 19:04:27 +0000
commitef504c23b12c68f2daace826412b56523bed73b0 (patch)
tree5f45f2baa69627bb781f7cbc9017a67557575cac /lsb-bootscripts/etc
parent878bc8bc0bd1e643ed90adcc98abd8ac69f5fa69 (diff)
Correct permissions on /run/shm. Fixes #2984.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9692 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'lsb-bootscripts/etc')
-rw-r--r--lsb-bootscripts/etc/init.d/mountvirtfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lsb-bootscripts/etc/init.d/mountvirtfs b/lsb-bootscripts/etc/init.d/mountvirtfs
index 51f94a8b8..20fdd5a93 100644
--- a/lsb-bootscripts/etc/init.d/mountvirtfs
+++ b/lsb-bootscripts/etc/init.d/mountvirtfs
@@ -32,6 +32,7 @@ case "${1}" in
# create needed directories in /run
mkdir /run/{var,lock,shm} || failed=1
+ chown 1777 /run/shm
(exit ${failed})
evaluate_retval standard