diff options
Diffstat (limited to 'bin/check_perms')
| -rwxr-xr-x | bin/check_perms | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/check_perms b/bin/check_perms index e28cdfb23..3497ee237 100755 --- a/bin/check_perms +++ b/bin/check_perms @@ -113,7 +113,12 @@ def checkarchivedbs(): if dir[-5:] == '.mbox': continue dbdir = os.path.join(mm_cfg.PRIVATE_ARCHIVE_FILE_DIR, dir, 'database') - mode = statmode(dbdir) + try: + mode = statmode(dbdir) + except os.error, (code, msg): + if code == ENOENT: + continue + raise if mode & S_IRWXO: STATE.ERRORS = STATE.ERRORS + 1 print dbdir, 'must be other 000', |
