diff options
author | ache <ache@FreeBSD.org> | 1997-09-24 17:43:46 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-09-24 17:43:46 +0000 |
commit | 96676824f3ee51a4f3e11252eb8b37e32a33afb2 (patch) | |
tree | c3a77f6d3d70c9923ce6505d55fe58f9ae109cc6 /games/hack | |
parent | c13d3a166f124a84a72c74f37a2104e331942d34 (diff) | |
download | FreeBSD-src-96676824f3ee51a4f3e11252eb8b37e32a33afb2.zip FreeBSD-src-96676824f3ee51a4f3e11252eb8b37e32a33afb2.tar.gz |
Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group
Diffstat (limited to 'games/hack')
-rw-r--r-- | games/hack/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
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 |