I think it is time for me to ask for help as i have wasted a couple on dyas with this and cannot come up with a solution on my own.
I manually installed ClamAV in a jail and mounted one of my child datasets into a folder local to the jail. I mostly used the instructions on https://www.truenas.com/community/threads/how-to-update-installing-clamav-in-its-own-jail.82800/ but i used my own script.
I'm trying to use Clamdscan as recommended by @Patrick M. Hausen on this thread https://www.truenas.com/community/threads/clamav-and-clamscan-taking-forever-to-complete.82776/ but ClamAV is marking each scan file as "not a regular file ERROR" and exists without scanning.
The command i'm using is
I can see the contents of the data set by ls -la into the local folder so it should not be a permissions problem.
I also successfully scanned the mounted dataset with
I'm at lost here. Why would clamscan works properly but not clamdscan?
Have any of you seen this "not a regular file" error message before?
I manually installed ClamAV in a jail and mounted one of my child datasets into a folder local to the jail. I mostly used the instructions on https://www.truenas.com/community/threads/how-to-update-installing-clamav-in-its-own-jail.82800/ but i used my own script.
I'm trying to use Clamdscan as recommended by @Patrick M. Hausen on this thread https://www.truenas.com/community/threads/clamav-and-clamscan-taking-forever-to-complete.82776/ but ClamAV is marking each scan file as "not a regular file ERROR" and exists without scanning.
The command i'm using is
clamdscan -z --fdpass /mnt/mounted-dataset
I can see the contents of the data set by ls -la into the local folder so it should not be a permissions problem.
I also successfully scanned the mounted dataset with
clamscan -r -v /mnt/mounted-dataset
I'm at lost here. Why would clamscan works properly but not clamdscan?
Have any of you seen this "not a regular file" error message before?