clamscan /boot/System.map-5.0.0-32-generic:访问被拒绝

clamscan /boot/System.map-5.0.0-32-generic:访问被拒绝

我刚刚安装并更新了 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$

答案1

clamscan 需要 root 权限(提升的权限)来扫描所有文件。

请使用sudo clamscan来实现这一点。

相关内容