[clamav-users] freshclam vs sudo freshclam

Michael Newman mgnewman at mac.com
Wed Sep 5 21:54:34 UTC 2018


Al Varnell  wrote:

> As previously observed, depending on installation permissions, some of us need sudo and others do not.

I fully understand that. What I don’t understand is why the need for sudo would suddenly and spontaneously change from not needed to needed while I was away on vacation.

Even though I gave everyone read/write permission for the database files I still need sudo:

MrMuscle:clamav mnewman$ pwd
/opt/local/share/clamav
MrMuscle:clamav mnewman$ ls -lea
total 329448
drwxrwxrwx    7 _clamav  _clamav        224 Sep  5 15:19 .
drwxrwxr-x  115 root     wheel         3680 Aug 19 10:14 ..
-rw-rw-rw-    1 _clamav  _clamav     187426 Aug 19 11:08 bytecode.cvd
-rw-rw-rw-    1 _clamav  _clamav   50109025 Sep  5 14:50 daily.cvd
-rw-rw-rw-@   1 _clamav  _clamav         52 Aug 22 05:48 local.ign2
-rw-rw-rw-    1 _clamav  _clamav  117892267 Aug 19 11:08 main.cvd
-rw-rw-rw-    1 _clamav  _clamav        260 Sep  5 15:19 mirrors.dat

What other permissions do I need to change to be able to run freshclam without sudo?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180906/188e9e35/attachment.htm>


More information about the clamav-users mailing list