[MacPorts] #70558: clamav should notify user when a file has been quarantined, esp. for on-access scan

MacPorts noreply at macports.org
Fri Aug 16 19:55:54 UTC 2024


#70558: clamav should notify user when a file has been quarantined, esp. for on-
access scan
----------------------------+-----------------------
  Reporter:  bernstei       |      Owner:  essandess
      Type:  enhancement    |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+-----------------------

Comment (by bernstei):

 I tried to add a VirusEvent-based osascript call, and it didn't work.  I
 assumed that was because the osascript needs to run as the logged-in user,
 rather than as root.  A LaunchAgent could monitor the logs and fire-off
 osascript scalls, the way the on-demand scan script does.  That might or
 might not be easy to do robustly (in particular checking that it's only
 reporting on new quarantines), but the other issue is that normal users
 don't have access (by default) to the scheduled scan log - only the on-
 demand log.

 I suppose I will check if the root process fired off by the VirusEven can
 run an osascript if it uses sudo (to the console user) to do it.

-- 
Ticket URL: <https://trac.macports.org/ticket/70558#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list