Please clarify what you're trying to do.  The thing you pasted as a relative 
path.... what... is it?  What is the command you're running for the scan?


Micah Snyder (they/them)
ClamAV Development
Talos
Cisco Systems, Inc.
________________________________
From: clamav-devel <clamav-devel-boun...@lists.clamav.net> on behalf of Hasitha 
Dewapriya via clamav-devel <clamav-devel@lists.clamav.net>
Sent: Wednesday, September 4, 2024 2:14 AM
To: clamav-devel@lists.clamav.net <clamav-devel@lists.clamav.net>
Cc: Hasitha Dewapriya <hdewapr...@veryon.com>
Subject: [Clamav-devel] Virus scan result for comand line not working for 
relative paths

Hi,

The following shows scan output for the same file in absolute path and a 
relative path in windows 11 environment. I want this to be work in relative 
path also. Please check


Absolute path output (D:\RD\Temp) everything is OK.

----------- SCAN SUMMARY -----------
Known viruses: 8697864
Engine version: 1.4.0
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 24.018 sec (0 m 24 s)
Start Date: 2024:08:30 15:18:48
End Date:   2024:08:30 15:19:12


Relative path 
(\\10.67.0.<https://outlook.office.com/local/path/file://10.67.0.161/DB_Docs/ENVTEST_MC/>xxx\DB_Docs\ENVTEST_MC\<https://outlook.office.com/local/path/file://10.67.0.161/DB_Docs/ENVTEST_MC/<file://\\10.67.0.<https://outlook.office.com/local/path/file://10.67.0.161/DB_Docs/ENVTEST_MC/>xxx\DB_Docs\ENVTEST_MC\<https://outlook.office.com/local/path/file://10.67.0.161/DB_Docs/ENVTEST_MC/>>)
All required data is missing

----------- SCAN SUMMARY -----------
Known viruses: 8697864
Engine version: 1.4.0
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 24.637 sec (0 m 24 s)
Start Date: 2024:08:30 15:27:52
End Date:   2024:08:30 15:28:17



_______________________________________________

clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: 
https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to