From 64c614c46cb1d0e471bdcdfb30cb7c52ff078434 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Thu, 17 Aug 2000 06:25:03 +0000 Subject: Make this setgid games to avoid a world-writable file --- games/gtkballs/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'games/gtkballs/Makefile') diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile index 3a6d776dbfce..ff5ff422c6c9 100644 --- a/games/gtkballs/Makefile +++ b/games/gtkballs/Makefile @@ -22,12 +22,13 @@ MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" MAN6= gtkballs.6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gtkballs ${PREFIX}/bin + ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/gtkballs ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/gtkballs.6 ${PREFIX}/man/man6 @${MKDIR} ${PREFIX}/share/gtkballs ${INSTALL_DATA} ${WRKSRC}/gtkballs-data/*.xpm ${PREFIX}/share/gtkballs ${INSTALL_DATA} ${WRKSRC}/score ${PREFIX}/share/gtkballs/score - @${CHMOD} a+rw ${PREFIX}/share/gtkballs/score + @${CHMOD} g+rw ${PREFIX}/share/gtkballs/score + @${CHOWN} root:games ${PREFIX}/share/gtkballs/score .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/gtkballs .for file in README README.russian TODO -- cgit v1.2.3