diff options
author | bwarsaw <> | 2004-02-03 22:26:08 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-02-03 22:26:08 +0000 |
commit | 7e0891d721017f86981d7260d1d186676ff23a76 (patch) | |
tree | 4c333e35743a46a1266643302977647ecf01fbd9 | |
parent | ccc489f783cb6fffbbfc7fe3cb52646ae123e909 (diff) | |
download | mailman2-7e0891d721017f86981d7260d1d186676ff23a76.tar.gz mailman2-7e0891d721017f86981d7260d1d186676ff23a76.tar.xz mailman2-7e0891d721017f86981d7260d1d186676ff23a76.zip |
Added helpful comment.
-rw-r--r-- | bin/mailmanctl | 3 |
1 files changed, 2 insertions, 1 deletions
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: |