[ mailman-Bugs-835012 ] incorrect permissions on archive index file

SourceForge.net noreply at sourceforge.net
Sun Nov 30 20:03:54 EST 2003


Bugs item #835012, was opened at 2003-11-03 08:14
Message generated for change (Settings changed) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=835012&group_id=103

Category: security/privacy
Group: 2.1 (stable)
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Rohan Carly (rohanc)
Assigned to: Nobody/Anonymous (nobody)
Summary: incorrect permissions on archive index file

Initial Comment:
The index file for list archives is created with the wrong 
file permissions. I'm referring to:

mailman/archives/private/ --listname-- / index.html

All my lists have index.html set to "rw-rw-rw-" which 
seems too permissive.

I think this can be corrected by modifiying the 
Archiver.InitVars method inside the file:

   mailman/Mailman/Archiver/Archiver.py .

I just added:
   os.umask(omask)
before the line that reads:
   fp = open(indexfile, 'w')

I run Mailman 2.1.3.








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

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



More information about the Mailman-coders mailing list