[PATCH] Samba VirusFilter (version 12)

Jeremy Allison jra at samba.org
Wed Jan 24 00:23:54 UTC 2018

On Wed, Jan 24, 2018 at 09:59:36AM +1000, ronnie sahlberg via samba-technical wrote:
> Why do you need/want to move the file away to a different directory?
> An alternative could be to instead modify the acl for the file to make it
> not readable/not writeable for all users and leave it in place.
> Maybe even an extra ACE that does alllow reading/writing the file but only for a
> dedicated virus scanner user. Could be useful in case future the
> current version of anti-virus
> can only detect the virus but future updates of the anti-virus package
> learns how to
> remove/repair the file.
> You could even modify the query data you return for the file to set
> the offline bit
> as another visual cue to the user that "the file is there but there is
> something wrong with it and you can't read it".

Well there are various options in the modules for how to
deal with virus-infested files. This could be another
one, but let's get the code in place in master first :-).

More information about the samba-technical mailing list