summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/tmp
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.d/tmp
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.d/tmp')
-rw-r--r--etc/rc.d/tmp1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp
index ce88374..1c2e0c6 100644
--- a/etc/rc.d/tmp
+++ b/etc/rc.d/tmp
@@ -80,6 +80,7 @@ fi
#
# /var/tmp, otherwise, use a small memory filesystem for /tmp.
mount_md ${tmpsize:=20480} /tmp 2
+# XXX: mtree runs too early to create any directories needed in /tmp,
# so if /var/tmp == /tmp, then you don't get a vi.recover.
#
if [ ! -h /tmp ]; then
OpenPOWER on IntegriCloud