From f6df1e533f9a584995f29da2eae5f0accf2863c8 Mon Sep 17 00:00:00 2001 From: klm Date: Mon, 30 Mar 1998 05:16:15 +0000 Subject: Change the weird umask (formerly 0700, which left files u-wrx, go+rw-x!) for adm.pw to 0022 (u+rw, go+r). I'm a bit shaking about this - think it's right, but seems like the original error is so odd that i may be seeing something incorrectly... --- modules/mm_security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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() -- cgit v1.3.1