Bug 1326533

Summary: Incorrect permissions on files in /var/lib/clamav
Product: [Fedora] Fedora EPEL Reporter: Matthew Johnson <johnno>
Component: clamavAssignee: Nick Bebout <nb>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel7CC: bugzilla, janfrode, mstevens, nathanael, nb, orion, redhat-bugzilla, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-14 02:07:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matthew Johnson 2016-04-13 00:57:41 UTC
Description of problem:
clamd (running as clamscan user) fails to start due to incorrect permissions on files in /var/lib/clamav

$ ls -l *.cvd
-rw-------. 1 clamupdate clamupdate     69708 Apr 11 10:10 bytecode.cvd
-rw-------. 1 clamupdate clamupdate 109143933 Apr 11 10:10 main.cvd

Version-Release number of selected component (if applicable): 0.99-2.el7


How reproducible: Fresh install of clamav
(Packages updated from a previous version are not affected)


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Have currently worked around by applying the same permissions as installations that have been upgraded from a previous version.

/var/lib/clamav
$ ls -l *.cvd
-rw-r--r--. 1 clamupdate clamupdate     69708 Apr 11 10:10 bytecode.cvd
-rw-r--r--. 1 clamupdate clamupdate 109143933 Apr 11 10:10 main.cvd

Comment 1 Orion Poplawski 2016-06-13 15:44:05 UTC
I can't reproduce this with 0.99.1-1.el7

Comment 2 Aaron Howell 2016-06-14 01:12:10 UTC
Confirmed 0.99.1-1.el7 no longer had the issue described for previous version 0.99-2.el7