Sorry, for the delay in replying, and many thanks to those who did.
On Tue, 30 Oct 2018 at 19:08, Scott Kitterman wrote:
> Did you explicitly remove Apparmor? It's shipped by default in Ubuntu and
> the
> Ubuntu clamav has an Apparmor profile included.
>
That was exactly it! I was unaware of
>and make sure user www-data has at least read and execute permissions
If www-data didn't have r/w access to that directory, my site would be
broken!
>From the (redacted) comand output I copied above:
>> root@arquivos0:/var/www# sudo -u clamav ls nc_data/
>> [correct directory contents listed]
Hi all,
For some reason, clamdscan is returning a permissions error for files it
has read access to.
I've copied some output below to help show the situation...
==
root@arquivos0:/var/www# grep User /etc/clamav/clamd.conf
User clamav
root@arquivos0:/v