aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/check_perms_grsecurity.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/check_perms_grsecurity.py')
-rw-r--r--contrib/check_perms_grsecurity.py8
1 files changed, 4 insertions, 4 deletions
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)