aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-09-24 17:43:46 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-09-24 17:43:46 +0000
commitd998e708c6359c0524e6f8eaccd4acbb65219a58 (patch)
treef3a900ca23d77956dd5cdee825f4d37213e62e37 /games
parentf4174904a8e0a2842bbba452081ff591c435fe9f (diff)
downloadsrc-d998e708c6359c0524e6f8eaccd4acbb65219a58.tar.gz
src-d998e708c6359c0524e6f8eaccd4acbb65219a58.zip
Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group
Notes
Notes: svn path=/head/; revision=29808
Diffstat (limited to 'games')
-rw-r--r--games/hack/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/games/hack/Makefile b/games/hack/Makefile
index 2ab7d77e7215..98ed82beb022 100644
--- a/games/hack/Makefile
+++ b/games/hack/Makefile
@@ -20,12 +20,6 @@ HIDEGAME=hidegame
DPSRCS+= hack.onames.h
CLEANFILES+= hack.onames.h makedefs
-#
-# Need to be suid for created savefiles and bones, they must not be
-# altered by user and can't be pre-created
-#
-SUIDGAME=suidgame
-
.depend: hack.onames.h
hack.onames.h: makedefs def.objects.h
@@ -37,7 +31,7 @@ makedefs: makedefs.c
beforeinstall:
${INSTALL} -c -o bin -g bin -m ${NOBINMODE} /dev/null \
${DESTDIR}/var/games/hackdir/perm
- ${INSTALL} -c -o bin -g ${BINGRP} -m 464 /dev/null \
+ ${INSTALL} -c -o bin -g ${BINGRP} -m 460 /dev/null \
${DESTDIR}/var/games/hackdir/record
${INSTALL} -c -o bin -g ${BINGRP} -m 440 ${.CURDIR}/rumors \
${DESTDIR}/var/games/hackdir/rumors