我刚刚安装并更新了clamav。我现在从终端运行 clamscan 以获取引导目录。我不断收到引导目录中文件的访问被拒绝错误。我想扫描我的整个计算机。clamav 可以吗?出现拒绝访问错误是否正常?有解决办法吗?如果是这样,您可以预见的变通办法是否可能造成任何潜在的负面影响?
ben@ben-Lenovo-G50-45:/boot$ clamscan
/boot/System.map-5.0.0-32-generic: Access denied
/boot/System.map-4.15.0-118-generic: Access denied
/boot/vmlinuz-5.0.0-32-generic: Access denied
/boot/memtest86+.elf: OK
/boot/initrd.img-5.4.0-45-generic: OK
/boot/memtest86+_multiboot.bin: OK
/boot/vmlinuz-5.4.0-45-generic: Access denied
/boot/System.map-5.4.0-48-generic: Access denied
/boot/config-5.4.0-48-generic: OK
/boot/config-4.15.0-118-generic: OK
/boot/memtest86+.bin: OK
/boot/initrd.img-5.4.0-48-generic: OK
/boot/config-5.4.0-45-generic: OK
/boot/config-4.15.0-54-generic: OK
/boot/initrd.img-4.15.0-118-generic: OK
/boot/initrd.img-4.15.0-54-generic: OK
/boot/config-5.0.0-32-generic: OK
/boot/System.map-4.15.0-54-generic: Access denied
/boot/System.map-5.4.0-45-generic: Access denied
/boot/vmlinuz-5.4.0-48-generic: Access denied
/boot/initrd.img-5.0.0-32-generic: OK
/boot/vmlinuz-4.15.0-54-generic: OK
/boot/vmlinuz-4.15.0-118-generic: Access denied
----------- SCAN SUMMARY -----------
Known viruses: 8920319
Engine version: 0.102.4
Scanned directories: 1
Scanned files: 14
Infected files: 0
Total errors: 9
Data scanned: 11.18 MB
Data read: 376.11 MB (ratio 0.03:1)
Time: 53.269 sec (0 m 53 s)
ben@ben-Lenovo-G50-45:/boot$
clamscan 需要 root 权限(提升权限)来扫描所有文件。
Plwase 用于
sudo clamscan
实现这一目标。