--- check_perms.orig 2004-06-10 09:26:22.717024396 -0600 +++ check_perms 2004-06-09 16:27:49.000000000 -0600 @@ -313,23 +313,24 @@ print _('checking permissions on list data') # BAW: This needs to be converted to the Site module abstraction for dir in os.listdir(mm_cfg.LIST_DATA_DIR): - for file in checkfiles: - path = os.path.join(mm_cfg.LIST_DATA_DIR, dir, file) - if STATE.VERBOSE: - print _(' checking permissions on: %(path)s') - try: - mode = statmode(path) - except OSError, e: - if e.errno <> errno.ENOENT: raise - continue - if (mode & targetmode) <> targetmode: - STATE.ERRORS += 1 - print _('file permissions must be at least 660: %(path)s'), - if STATE.FIX: - print _('(fixing)') - os.chmod(path, mode | targetmode) - else: - print + if dir != '.keep': + for file in checkfiles: + path = os.path.join(mm_cfg.LIST_DATA_DIR, dir, file) + if STATE.VERBOSE: + print _(' checking permissions on: %(path)s') + try: + mode = statmode(path) + except OSError, e: + if e.errno <> errno.ENOENT: raise + continue + if (mode & targetmode) <> targetmode: + STATE.ERRORS += 1 + print _('file permissions must be at least 660: %(path)s'), + if STATE.FIX: + print _('(fixing)') + os.chmod(path, mode | targetmode) + else: + print