summaryrefslogtreecommitdiff
path: root/etc/mtree
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-19 22:22:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-19 22:22:18 +0000
commite666495d5bec1a6aebe384303efe5f31db6aed2b (patch)
tree80acd2a5798eea45c4eaacfe133fe15feed672c1 /etc/mtree
parent0333603e546677747279b0dc4cd7292bad1abb7c (diff)
setgid games, not setuid games. closes a neat set of holes
Diffstat (limited to 'etc/mtree')
-rw-r--r--etc/mtree/4.4BSD.dist16
-rw-r--r--etc/mtree/special4
2 files changed, 10 insertions, 10 deletions
diff --git a/etc/mtree/4.4BSD.dist b/etc/mtree/4.4BSD.dist
index c651a4780f3..d6ffebf7f03 100644
--- a/etc/mtree/4.4BSD.dist
+++ b/etc/mtree/4.4BSD.dist
@@ -1,4 +1,4 @@
-# $OpenBSD: 4.4BSD.dist,v 1.27 1996/12/19 02:31:17 millert Exp $
+# $OpenBSD: 4.4BSD.dist,v 1.28 1996/12/19 22:19:50 deraadt Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@@ -113,7 +113,7 @@ bin
games
# ./usr/games/hide
-hide gname=games uname=games mode=0700
+hide gname=games uname=root mode=0550
# ./usr/games/hide
..
@@ -1457,13 +1457,13 @@ ns
..
# ./var/games
-games uname=games gname=games mode=0775
+games uname=root gname=games mode=0755
# ./var/games/hackdir
-hackdir uname=games gname=games mode=0775
+hackdir uname=root gname=games mode=0775
# ./var/games/hackdir/save
-save uname=games gname=games mode=0770
+save uname=root gname=games mode=0770
# ./var/games/hackdir/save
..
@@ -1471,17 +1471,17 @@ save uname=games gname=games mode=0770
..
# ./var/games/hackdir/save XXX
-save uname=games gname=games mode=0775
+save uname=root gname=games mode=0775
# ./var/games/hackdir/save XXX
..
# ./var/games/larn
-larn uname=games gname=games mode=0775
+larn uname=root gname=games mode=0775
# ./var/games/larn
..
# ./var/games/phantasia
-phantasia uname=games gname=games mode=0775
+phantasia uname=root gname=games mode=0775
# ./var/games/phantasia
..
diff --git a/etc/mtree/special b/etc/mtree/special
index dbfefd6ca53..b020da1d189 100644
--- a/etc/mtree/special
+++ b/etc/mtree/special
@@ -1,4 +1,4 @@
-# $OpenBSD: special,v 1.8 1996/12/15 20:21:56 millert Exp $
+# $OpenBSD: special,v 1.9 1996/12/19 22:19:51 deraadt Exp $
# $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
@@ -76,7 +76,7 @@ usr type=dir mode=0755 uname=root gname=wheel
bin type=dir mode=0755 uname=root gname=wheel ignore
.. #usr/bin
games type=dir mode=0755 uname=root gname=wheel optional
-hide type=dir mode=0700 uname=games gname=games optional ignore
+hide type=dir mode=0700 uname=root gname=wheel optional ignore
.. #usr/games/hide
.. #usr/games
include type=dir mode=0755 uname=root gname=bin ignore