Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
rpmlint
ignore-non-readable-in-etc.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ignore-non-readable-in-etc.diff of Package rpmlint
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)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor