From: x2000habouzit Date: Wed, 22 Sep 2004 11:41:12 +0000 (+0000) Subject: let's pretend nothing happened X-Git-Tag: xorg/old~1512 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=cd6243e67b4032878fae819c6ea07aa331be5faa;p=platal.git let's pretend nothing happened --- diff --git a/scripts/mailman/mailman-rpc.py b/scripts/mailman/mailman-rpc.py index 1a813e3..7c68215 100755 --- a/scripts/mailman/mailman-rpc.py +++ b/scripts/mailman/mailman-rpc.py @@ -18,7 +18,7 @@ #* Foundation, Inc., * #* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * #*************************************************************************** -# $Id: mailman-rpc.py,v 1.25 2004-09-22 11:38:41 x2000habouzit Exp $ +# $Id: mailman-rpc.py,v 1.26 2004-09-22 11:41:12 x2000habouzit Exp $ #*************************************************************************** import base64, MySQLdb, os, getopt, sys, MySQLdb.converters @@ -413,8 +413,8 @@ uid = getpwnam(mm_cfg.MAILMAN_USER)[2] gid = getgrnam(mm_cfg.MAILMAN_GROUP)[2] if not os.getuid(): + os.setreuid(uid,uid) os.setregid(gid,gid) - os.setreuid(gid,gid) if ( os.getuid() is not uid ) or ( os.getgid() is not gid): sys.exit(0)