aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs2
-rw-r--r--lsb-bootscripts/etc/init.d/mountvirtfs2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index b8de10076..f7f9505a4 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -35,7 +35,7 @@ case "${1}" in
mkdir -p /run
mount -n /run || failed=1
mkdir -p /run/{var,lock,shm}
- chown 1777 /run/shm
+ chmod 1777 /run/shm
log_info_msg "Mounting virtual file systems: ${INFO}/run"
diff --git a/lsb-bootscripts/etc/init.d/mountvirtfs b/lsb-bootscripts/etc/init.d/mountvirtfs
index 20fdd5a93..d7d1b887c 100644
--- a/lsb-bootscripts/etc/init.d/mountvirtfs
+++ b/lsb-bootscripts/etc/init.d/mountvirtfs
@@ -32,7 +32,7 @@ case "${1}" in
# create needed directories in /run
mkdir /run/{var,lock,shm} || failed=1
- chown 1777 /run/shm
+ chmod 1777 /run/shm
(exit ${failed})
evaluate_retval standard