summaryrefslogtreecommitdiffstats
path: root/etc/rc.diskless2
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-11-27 22:12:27 +0000
committerrwatson <rwatson@FreeBSD.org>2001-11-27 22:12:27 +0000
commit47ff42dab2e21d6e60fcc76f3e83e2e2a511c236 (patch)
treed8ff63ab4ecd8233bdabba9f6689ea78890473a7 /etc/rc.diskless2
parentc6a6609a81bf4daa7396de247ee2b5da2ec5fcd3 (diff)
downloadFreeBSD-src-47ff42dab2e21d6e60fcc76f3e83e2e2a511c236.zip
FreeBSD-src-47ff42dab2e21d6e60fcc76f3e83e2e2a511c236.tar.gz
Remeber to set the permissions on an md-backed /tmp to 01777, rather than
using the default of 0755.
Diffstat (limited to 'etc/rc.diskless2')
-rw-r--r--etc/rc.diskless21
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.diskless2 b/etc/rc.diskless2
index 5ad523a..4c6a8c2 100644
--- a/etc/rc.diskless2
+++ b/etc/rc.diskless2
@@ -80,6 +80,7 @@ mount -a # chown and chgrp are in /usr
# /var/tmp, otherwise, use a small memory filesystem for /tmp.
if [ ! -h /tmp ]; then
mount_md ${tmpsize:=20480} /tmp 2
+ chmod 01777 /tmp
fi
if sysctl vfs.devfs.generation > /dev/null 2>&1 ; then
OpenPOWER on IntegriCloud