aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--contrib/check_perms_grsecurity.py8
2 files changed, 6 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 687f0ac0..b4ada2c8 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,8 @@ Here is a history of user visible changes to Mailman.
Bug Fixes and other patches
+ - Fixed some paths in contrib/check_perms_grsecurity.py. Bug #411192.
+
- Replies to commands sent to list-request now come From: list-owner
instead of list-bounces.
diff --git a/contrib/check_perms_grsecurity.py b/contrib/check_perms_grsecurity.py
index 3d0b66e1..0a4ece1e 100644
--- a/contrib/check_perms_grsecurity.py
+++ b/contrib/check_perms_grsecurity.py
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -87,7 +87,7 @@ def main(argv):
print
- file = paths.prefix + '/data/last_mailman_version'
+ file = mm_cfg.VAR_PREFIX + '/data/last_mailman_version'
print "Making" + file + "owned by mailman (not root)"
uid = pwd.getpwnam(MAILMAN_USER)[2]
gid = grp.getgrnam(MAILMAN_GROUP)[2]
@@ -133,8 +133,8 @@ class CheckFixUid:
print file
print "\nEnsuring that all config.db/pck files are owned by Mailman"
- cdbs = glob.glob(paths.prefix + '/lists/*/config.db*')
- cpcks = glob.glob(paths.prefix + '/lists/*/config.pck*')
+ cdbs = glob.glob(mm_cfg.VAR_PREFIX + '/lists/*/config.db*')
+ cpcks = glob.glob(mm_cfg.VAR_PREFIX + '/lists/*/config.pck*')
for file in cdbs + cpcks:
stat = os.stat(file)