From 7e0891d721017f86981d7260d1d186676ff23a76 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Tue, 3 Feb 2004 22:26:08 +0000 Subject: Added helpful comment. --- bin/mailmanctl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/mailmanctl b/bin/mailmanctl index d49309ea..9c77505f 100644 --- a/bin/mailmanctl +++ b/bin/mailmanctl @@ -1,6 +1,6 @@ #! @PYTHON@ -# Copyright (C) 2001-2003 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2004 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -288,6 +288,7 @@ def check_privs(): uid = pwd.getpwnam(mm_cfg.MAILMAN_USER)[2] myuid = os.getuid() if myuid == 0: + # Set the process's supplimental groups. groups = [x[2] for x in grp.getgrall() if mm_cfg.MAILMAN_USER in x[3]] groups.append(gid) try: -- cgit v1.2.3