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:
parent
f3e5e31ef3
commit
0a79e75e5f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87010
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user