Manage quarantine
Quarantine moves a detected file into owner-only storage and records its original path, detection name, size, date, and SHA-256 hash. The file can no longer run from where it was.
Decide what to do
Section titled “Decide what to do”| Situation | Action |
|---|---|
| Unsure, or high severity | Quarantine and investigate |
| Confirmed false positive | Restore. ClamUI checks the hash and never overwrites an existing file. |
| Confirmed malware | Delete permanently |
In the app
Section titled “In the app”Open Quarantine (Ctrl+6). Search by threat name or original path, then choose Restore or Delete. Previous / Next page through items; Refresh picks up new ones. If a restore fails its integrity check, do not restore the file by hand.
On the command line
Section titled “On the command line”clamui quarantine listclamui quarantine list --jsonclamui quarantine restore 42clamui quarantine delete 42The number is the item ID from list.
Where files are stored
Section titled “Where files are stored”~/.local/share/clamui/quarantine/~/.local/share/clamui/quarantine.db~/.var/app/io.github.linx_systems.ClamUI/data/clamui/quarantine/~/.var/app/io.github.linx_systems.ClamUI/data/clamui/quarantine.dbquarantine_directory in settings moves where new items go; the database stays put and existing items are not moved. Editing these files by hand skips all integrity checks. Back up quarantine.db first if you must.