summaryrefslogtreecommitdiff
path: root/modules/mm_security.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mm_security.py')
-rw-r--r--modules/mm_security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mm_security.py b/modules/mm_security.py
index 0202baba9..c8b460bc5 100644
--- a/modules/mm_security.py
+++ b/modules/mm_security.py
@@ -3,7 +3,7 @@ import mm_err, mm_utils, mm_cfg
class SecurityManager:
def SetSiteAdminPassword(self, pw):
- old = os.umask(0700)
+ old = os.umask(0022)
f = open(os.path.join(mm_cfg.MAILMAN_DIR, "adm.pw"), "w+")
f.write(crypt.crypt(pw, mm_utils.GetRandomSeed()))
f.close()