----- Original Message ---------------

Dave B wrote:

>Does it use the umask setting? If so, it should be setting permissions 
>to 644 (umask is 022) instead of the 660 that it sets.


It uses umask, but it sets it to 007 before creating the new file and
restores it afterword, because it specifically doesn't want the file
readable by 'other' as it contains plain text passwords. BTW, 644
isn't good. It should be 664 (umask = 002) to do what you want as
files should be group writable, but it isn't critical in the case of
config.pck because it's always a new file that's written - the old one
is only read.


>Is there a way 
>to change what it uses as  standard permissions?


Only by changing the code in MailList.py.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to