-
Notifications
You must be signed in to change notification settings - Fork 211
Description
Updating the ClamAV ISO database
ClamAV is installed on the ISO.
The "include" folder is for customization.
mkdir -p include/var/lib/
rsync -av /var/lib/_clamav include/var/lib/
sudo chown -R _clamav:_clamav include/var/lib/_clamav/
ls -lh include/var/lib/_clamav/
total 360M
-rw-r--r-- 1 _clamav _clamav 8,9K out 16 20:19 bytecode-339.cvd.sign
-rw-r--r-- 1 _clamav _clamav 276K out 16 20:19 bytecode.cvd
-rw-r--r-- 1 _clamav _clamav 197M nov 14 14:05 daily.cld
-rw-r--r-- 1 _clamav _clamav 90 out 16 19:53 freshclam.dat
-rw-r--r-- 1 _clamav _clamav 8,9K out 16 20:19 main-62.cvd.sign
-rw-r--r-- 1 _clamav _clamav 163M out 16 20:19 main.cvd
In the generated Void Linux ISO, the folder /var/lib/_clamav/ has incorrect permissions, and the owner and group are wrong; it should be -rw-r--r-- 1 _clamav _clamav
Result ISO:
