1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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

using the default of 0755.
This commit is contained in:
Robert Watson 2001-11-27 22:12:27 +00:00
parent f3e5e31ef3
commit 0a79e75e5f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87010
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