A newbie question here...

Wondering if anyone has a sense how long a message takes to send before I
can make changes to the membership list. The concern is if I make changes to
the subscriber list too quickly (remove them), then those folks may not get
the message. I'd presume it has to do with how big the list is, but does
anyone have a sense of whether  the server is tied up for more than a minute
or two sending?

Thanks....

m

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of K. Clair
Sent: Thursday, August 26, 2004 6:06 PM
To: [EMAIL PROTECTED]
Subject: [Mailman-Users] running newlist from a perl script


Hello,

I'm trying to run the newlist command from a perl script that is suid to
root (real userid is 504 and effective userid is 0), and I'm getting the
following error:

Traceback (most recent call last):
File "/home/mailman/bin/newlist",line 219, in ?
main()
File "/home/mailman/bin/newlist", line 160, in main
mlist.Create(listname, owner_mail, pw)
File "/home/mailman/Mailman/MailList.py", line 454, in Create
self._full_path = Site.get_listpath(name, create=1)
File "/home/mailman/Mailman/Site.py", line 65, in get_listpath
_makedir(path)
File "/home/mailman/Mailman/Site.py", line 40, in _makedir
os.makedirs(path, 02775)
File "/usr/lib/python2.2/os.py", line 203, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/mailman/lists/mmtest'

The group mailman exists on the server where the cgi is running, and the
user mailman is a member of that group.  The permissions of the
directory are:
drwxrwsr-x    6 user   mailman      4096 Aug 26  2004 /home/mailman/lists

Has anyone tried to do anything like this and gotten it to work?  I'm
wondering if it is actually a problem with the perl script running in
taint mode so then it's not running the newlist program as setgid.

Thanks,
Kristina
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to