Re: [clamav-users] Clam user has read permissions, but I still get "lstat() failed: Permission denied"

2018-11-06 Thread Doug Ingham
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

Re: [clamav-users] Clam user has read permissions, but I still get "lstat() failed: Permission denied"

2018-10-30 Thread Doug Ingham
>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]

[clamav-users] Clam user has read permissions, but I still get "lstat() failed: Permission denied"

2018-10-30 Thread Doug Ingham
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