On 2017-08-05 04:02, james wrote:
anyone know how to fix this:
how do i do this: The database directory must be writable for UID 1000 or GID 100 ERROR: Can't create temporary directory /var/lib/clamav/clamav-ebe86fe4acceb0022174f7441cc3d376.tmp Hint: The database directory must be writable for UID 1000 or GID 100
trying to run freshclam
You don't run "freshclam" yourself. You simply activate a service or a cronjob that does that for you, and already has the appropriate permissions. Telcontar:~ # systemctl status freshclam.service ● freshclam.service - Freshclam virus definitions downloader Loaded: loaded (/usr/lib/systemd/system/freshclam.service; *enabled;* vendor preset: disabled) Active: active (running) since Sat 2017-07-08 18:08:12 CEST; 3 weeks 6 days ago Main PID: 3349 (freshclam) Tasks: 1 (limit: 512) CGroup: /system.slice/freshclam.service └─3349 /usr/bin/freshclam -d And if you need to do it manually, you do it as root. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)