diff options
| author | klm | 1998-03-30 05:16:15 +0000 |
|---|---|---|
| committer | klm | 1998-03-30 05:16:15 +0000 |
| commit | f6df1e533f9a584995f29da2eae5f0accf2863c8 (patch) | |
| tree | 4b8468747d9fcd039ed2a61c8cefdb23c7fe988d | |
| parent | 0e7ea557e36897b3896eba1fdca52cb2caa9431c (diff) | |
| download | mailman-f6df1e533f9a584995f29da2eae5f0accf2863c8.tar.gz mailman-f6df1e533f9a584995f29da2eae5f0accf2863c8.tar.zst mailman-f6df1e533f9a584995f29da2eae5f0accf2863c8.zip | |
| -rw-r--r-- | Mailman/SecurityManager.py | 2 | ||||
| -rw-r--r-- | modules/mm_security.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py index 0202baba9..c8b460bc5 100644 --- a/Mailman/SecurityManager.py +++ b/Mailman/SecurityManager.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() 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() |
