summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-07-02 13:55:23 +0000
committerbwarsaw2001-07-02 13:55:23 +0000
commitc7ed6eb58c2881ba81a49502b233c3400c991d11 (patch)
treeafc5931f3958209aba6d3bebf610c8b6fe444ee7
parent8368db813a1c2b5d4125f18b59cf20ca6b411f05 (diff)
downloadmailman-c7ed6eb58c2881ba81a49502b233c3400c991d11.tar.gz
mailman-c7ed6eb58c2881ba81a49502b233c3400c991d11.tar.zst
mailman-c7ed6eb58c2881ba81a49502b233c3400c991d11.zip
-rwxr-xr-xbin/check_perms5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/check_perms b/bin/check_perms
index 1909bdd3b..27f6c698e 100755
--- a/bin/check_perms
+++ b/bin/check_perms
@@ -208,11 +208,12 @@ def checkarchivedbs():
def checkcgi():
+ cgidir = os.path.join(mm_cfg.EXEC_PREFIX, 'cgi-bin')
if STATE.VERBOSE:
print _('checking cgi-bin permissions')
- exes = os.listdir(mm_cfg.CGI_DIR)
+ exes = os.listdir(cgidir)
for f in exes:
- path = os.path.join(mm_cfg.CGI_DIR, f)
+ path = os.path.join(cgidir, f)
if STATE.VERBOSE:
print _(' checking set-gid for %(path)s')
mode = statmode(path)