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

Doug Ingham dougti at gmail.com
Tue Oct 30 22:01:40 UTC 2018


 >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 at arquivos0:/var/www# sudo -u clamav ls nc_data/
>> [correct directory contents listed]

I do normally mount /var noexec, however I had to remount it exec when I
ran dpkg-reconfigure, so that's not it. I've just tested it with /tmp also
mounted exec, however that still didn't fix the problem.

> Apparmor/SE Linux is another possibility.
Neither are installed on this server.

BTW, I'm running Ubuntu 16.04 & ClamAV 0.100.2/25075/Mon.

-- 
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20181030/4e914878/attachment.htm>


More information about the clamav-users mailing list