From 4935b951b3e1a6aae107c7d04830c0ffc63aaf52 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 6 Jun 2014 13:27:44 -0700 Subject: Mailman's log files, request.pck files and heldmsg-* files are no longer created world readable to protect against access by untrusted local users. --- Mailman/Logging/Logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Logging') diff --git a/Mailman/Logging/Logger.py b/Mailman/Logging/Logger.py index 617347d4..f3d30164 100644 --- a/Mailman/Logging/Logger.py +++ b/Mailman/Logging/Logger.py @@ -60,7 +60,7 @@ class Logger: return self.__fp else: try: - ou = os.umask(002) + ou = os.umask(007) try: try: f = codecs.open( -- cgit v1.2.3