summaryrefslogtreecommitdiff
path: root/Mailman/Archiver/pipermail.py
diff options
context:
space:
mode:
authorbwarsaw1998-11-04 23:49:03 +0000
committerbwarsaw1998-11-04 23:49:03 +0000
commit5ce88dfc665ccec9db156c69cbf6ad84d89562b8 (patch)
treebd7ce75f7e0bacb61d8b4afcab72bbd24d0029e7 /Mailman/Archiver/pipermail.py
parentf850176fa13c48416d68f5ffee24b61932581fc3 (diff)
downloadmailman-5ce88dfc665ccec9db156c69cbf6ad84d89562b8.tar.gz
mailman-5ce88dfc665ccec9db156c69cbf6ad84d89562b8.tar.zst
mailman-5ce88dfc665ccec9db156c69cbf6ad84d89562b8.zip
Changes to avoid having to chmod files, which may fail.
Import open_ex() from Mailman.Utils and assign it to open in the module's globals, so this gets picked up before builtin open. Saves rewriting lots of occurances of open(), but could be confusing when reading a method. Hmmm... __openIndices(): If the `database' directory does not exist, create it specifically with mode = 02770. We want o-rx so this directory is not accessible when the archive is public. But we must have g+wxs or the competing processes (mail and web) that try to update these files (when a message is posted, or web approved after being held), can get to and write the files.
Diffstat (limited to 'Mailman/Archiver/pipermail.py')
0 files changed, 0 insertions, 0 deletions