aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-11-11 20:58:12 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-11-11 20:58:12 +0000
commitd9ddcb3bc4443b07487318c991cca962342cdc9e (patch)
treec6d2f595a04e98749111435783b1dce6dfd66509 /bootscripts
parent94ea3c4e2a04b0946ce50a9b79dab38537a56609 (diff)
Change default permissions for /run/lock to 1777
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10792 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/ChangeLog3
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs2
2 files changed, 4 insertions, 1 deletions
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index f9621fa1e..5ada5559b 100644
--- a/bootscripts/ChangeLog
+++ b/bootscripts/ChangeLog
@@ -1,3 +1,6 @@
+2014-11-10 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+ * Make /run/lock have 1777 permissions
+
2014-07-06 Bruce Dubbs <bdubbs@linuxfromscratch.org>
* Remove obsolete reference to /proc/sys/kernel/hotplug in udev boot script
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index 4f34451d6..65b87b0f0 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/bootscripts/lfs/init.d/mountvirtfs
@@ -37,7 +37,7 @@ case "${1}" in
fi
mkdir -p /run/lock /run/shm
- chmod 1777 /run/shm
+ chmod 1777 /run/shm /run/lock
log_info_msg "Mounting virtual file systems: ${INFO}/run"