------------------------------------------------------------
revno: 1193
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Mon 2009-08-10 10:28:49 -0700
message:
Fixed some paths in contrib/check_perms_grsecurity.py. Bug #411192.
modified:
NEWS
contrib/check_perms_grsecurity.py
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription.
=== modified file 'NEWS'
--- NEWS 2009-08-05 18:53:15 +0000
+++ NEWS 2009-08-10 17:28:49 +0000
@@ -8,6 +8,8 @@
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.
=== modified file 'contrib/check_perms_grsecurity.py'
--- contrib/check_perms_grsecurity.py 2007-02-15 19:06:18 +0000
+++ contrib/check_perms_grsecurity.py 2009-08-10 17:28:49 +0000
@@ -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 @@
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 @@
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)
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org