Update of /cvsroot/mailman/mailman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1496
Modified Files:
Tag: Release_2_1-maint
mailmanctl
Log Message:
Added helpful comment.
Index: mailmanctl
===================================================================
RCS file: /cvsroot/mailman/mailman/bin/mailmanctl,v
retrieving revision 2.24.2.3
retrieving revision 2.24.2.4
diff -u -d -r2.24.2.3 -r2.24.2.4
--- mailmanctl 14 Dec 2003 17:57:40 -0000 2.24.2.3
+++ mailmanctl 3 Feb 2004 22:26:08 -0000 2.24.2.4
@@ -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 @@
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:
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org