From 96676824f3ee51a4f3e11252eb8b37e32a33afb2 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 24 Sep 1997 17:43:46 +0000 Subject: Make hack non-setuid back, it is possible because hackdir hierarchy are not more readable/writeable by anyone except "games" group --- games/hack/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'games/hack/Makefile') diff --git a/games/hack/Makefile b/games/hack/Makefile index 2ab7d77..98ed82b 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 -- cgit v1.1