Well definitely a permissions issue, my guess is that you used a binary installation.
Make sure the user that’s running freshclam has permissions to write to /private/var/log/freshclam.log

Personally, I usually just use Homebrew, https://brew.sh/
That will copy it to /usr/local/var/log/freshclam.log under the user that installed.

For multiple users I’ll run clamdscan under root, but that comes with it’s own issues for notifying users.
Someone forked my work and just decided to email users which works.

Sincerely,

Eric Tykwinski
TrueNet, Inc.
P: 610-429-8300

On Oct 23, 2018, at 6:26 PM, Michael Newman <mgnewman@mac.com> wrote:

After installing Mojave I’ve run into two problems:

ERROR: Can't open /private/var/log/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile = /private/var/log/freshclam.log).

What should the ownership and permission be for the log file and the parent directory?

I have clamav set up to scan my entire home directory. Never received any error messages, but after installing Mojave I get many errors regarding ~/Library, like this:

/Users/mnewman/Library/Application Support/AddressBook: lstat() failed: Operation not permitted. ERROR

What does this mean and how do I fix it?


_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml