[ mailman-Bugs-1565707 ] Newlist and groups

SourceForge.net noreply at sourceforge.net
Tue Sep 26 14:53:43 CEST 2006


Bugs item #1565707, was opened at 2006-09-26 14:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1565707&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line scripts
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hypnos Software (alexcomps)
Assigned to: Nobody/Anonymous (nobody)
Summary: Newlist and groups

Initial Comment:
In function main:

    if os.getgid() != mm_cfg.MAILMAN_GROUP:
        os.setgid(gid)

it is comparing a string and a number, so it always run
os.setgid(gid)

Also I think that it would be better if it checks if
you belong to the group, because maybe it is not your
primary group but it is one of you secondary ones.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1565707&group_id=103


More information about the Mailman-coders mailing list