Remeber to set the permissions on an md-backed /tmp to 01777, rather than

using the default of 0755.
This commit is contained in:
rwatson 2001-11-27 22:12:27 +00:00
parent c6a6609a81
commit 47ff42dab2
5 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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