Hello, In the Message;
Subject : [clamav-users] clamscan can't process excluded-dir Message-ID : <bl0pr06mb444982a20d2925719966c501d6...@bl0pr06mb4449.namprd06.prod.outlook.com> Date & Time: Tue, 10 Feb 2026 02:16:08 +0000 [EG] == Ernie Grossmann via clamav-users <[email protected]> has written: EG> Hello. Recently, clamscan stopped processing the '--exclude-dir' EG> option. I'm using the Ubuntu LTS package (1.4.3) and cannot EG> figure out what the issue might be. I run the same scan on two EG> different computers, yet only one of them throws these errors. I EG> have uninstalled/reinstalled clamav to no avail. I'm running as EG> root and the directories do exist. Tried with and without quotes EG> and with and without trailing slash for the excluded directory. I EG> compared environments (printenv) and they are the same other than EG> variables that change (PIDs, etc.). EG> >From Konsole: EG> # clamscan -ir exclude-dir=/usr/bin/ /usr EG> exclude-dir=/usr/bin/: No such file or directory EG> WARNING: exclude-dir=/usr/bin/: Can't access file exclude-dir=/usr/bin/ /usr --> --exclude-dir=/usr/bin/ /usr Best regards. -- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "It was a sin to be delicious. -- Abstinence preached by Christianity." -- "The History of the mind in French Cuisine" Chikako Hashimoto (in JP) -- _______________________________________________ Manage your clamav-users mailing list subscription / unsubscribe: https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat
