From: Lionel Sambuc Date: Mon, 19 Nov 2012 10:07:58 +0000 (+0100) Subject: Fix wrong access permission on /tmp and /usr/tmp X-Git-Tag: v3.2.1~198 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/CHANGES?a=commitdiff_plain;h=420b1799d906ef311dda7a4baa958348ca53b950;p=minix.git Fix wrong access permission on /tmp and /usr/tmp With the build system upgrade, the list of system directories was recreated, and the sticky bit was forgotten. Change-Id: Ie2f2241734dde9f1e217cd38588296dc21d07b81 --- diff --git a/etc/mtree/NetBSD.dist.base b/etc/mtree/NetBSD.dist.base index 93fa80769..c27b477e7 100644 --- a/etc/mtree/NetBSD.dist.base +++ b/etc/mtree/NetBSD.dist.base @@ -30,7 +30,6 @@ ./root ./sbin ./sys -./tmp ./usr ./usr/adm ./usr/adm/old @@ -126,7 +125,6 @@ ./usr/spool/lpd ./usr/spool/mail ./usr/src -./usr/tmp ./usr/var ./usr/var/db ./usr/var/db/pkg @@ -136,6 +134,11 @@ ./var/db/obsolete ./var/run +# Directories with special access rights +/set type=dir uid=0 gid=0 mode=1777 +./tmp +./usr/tmp + # Symlinks /set type=link uid=0 gid=0 mode=0777 ./dev/mouse