Index: FilesCheck.py =================================================================== --- FilesCheck.py.orig +++ FilesCheck.py @@ -980,7 +980,8 @@ class FilesCheck(AbstractCheck.AbstractC (includefile_regex.search(f) or \ develfile_regex.search(f) or is_buildconfig): printWarning(pkg, 'devel-file-in-non-devel-package', f) - if mode & 0444 != 0444 and perm & 07000 == 0 and f[0:len('/var/log')] != '/var/log': + if mode & 0444 != 0444 and perm & 07000 == 0 and \ + not f.startswith('/var/log/') and not f.startswith('/etc/'): printError(pkg, 'non-readable', f, oct(perm)) if size == 0 and not normal_zero_length_regex.search(f) and f not in ghost_files: printError(pkg, 'zero-length', f)