summaryrefslogtreecommitdiff
path: root/games/canfield/cfscores/cfscores.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/canfield/cfscores/cfscores.c')
-rw-r--r--games/canfield/cfscores/cfscores.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c
index 4a3a0e8f782..520c401a9ef 100644
--- a/games/canfield/cfscores/cfscores.c
+++ b/games/canfield/cfscores/cfscores.c
@@ -80,6 +80,7 @@ main(argc, argv)
perror(_PATH_SCORE);
exit(2);
}
+ setgid(getgid()); /* revoke */
setpwent();
if (argc == 1) {
uid = getuid();