Skip to content

freshclam's db file permissions #1651

@patch-work

Description

@patch-work

Freshclam changes permissions to local db files and remote db files differently.

Example rule for a local db file:

DatabaseCustomURL file:///var/db/clamav/example.yara

I set the file as follows, as a test:

-rw-r--r-- 1 root _clamav 410441 Dec 20 22:17 example.yara

After running freshclam, the file becomes as follows:

-rw------- 1 _clamav wheel 410441 Dec 20 22:17 example.yara

The other files, downloaded from remote stores, look as follows:

-rw-r--r-- 1 _clamav _clamav 51490 Dec 20 18:19 spamimg.hdb

Why is freshclam doing this to local files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions