From 69ca69d16c6ceff1a5cc93eb96ac0f9cd4de32bd Mon Sep 17 00:00:00 2001 From: Andy Ragusa Date: Tue, 12 Mar 2024 14:37:32 -0700 Subject: [PATCH] blah --- docs/man/freshclam.1.in | 2 +- docs/man/freshclam.conf.5.in | 2 +- etc/freshclam.conf.sample | 2 ++ win32/conf_examples/freshclam.conf.sample | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/man/freshclam.1.in b/docs/man/freshclam.1.in index d194782297..31ad5d02d0 100644 --- a/docs/man/freshclam.1.in +++ b/docs/man/freshclam.1.in @@ -61,7 +61,7 @@ This option forces old non\-DNS verification method (without a TTL delay). Check #n times per day for a new database. #n must be between 1 and 50. .TP \fB\-\-datadir=DIRECTORY\fR -Install new database in DIRECTORY. The directory must be writable for the '@CLAMAV_USER@' user or unprivileged user running freshclam. +Install new database in DIRECTORY. The directory must be writable for the '@CLAMAV_USER@' user or unprivileged user running freshclam, already exist, and be an absolute path. .TP \fB\-\-daemon\-notify=/path/to/clamd.conf\fR Notify the daemon about the new database. By default it reads a hardcoded config file but you can use a different one. Both local and TCP sockets are supported. diff --git a/docs/man/freshclam.conf.5.in b/docs/man/freshclam.conf.5.in index 4a580f9b6d..19f9dcd983 100644 --- a/docs/man/freshclam.conf.5.in +++ b/docs/man/freshclam.conf.5.in @@ -62,7 +62,7 @@ Write the daemon's pid to the specified file. Default: disabled .TP \fBDatabaseDirectory STRING\fR -Path to a directory containing database files. +Path to a directory containing database files. This directory must already exist, be an absolute path, be writeable by freshclam and readable by clamd/clamscan. .br Default: @DATADIR@ .TP diff --git a/etc/freshclam.conf.sample b/etc/freshclam.conf.sample index 14a87217a9..d91fe813b5 100644 --- a/etc/freshclam.conf.sample +++ b/etc/freshclam.conf.sample @@ -9,6 +9,8 @@ Example # Path to the database directory. # WARNING: It must match clamd.conf's directive! +# WARNING: It must already exist, be an absolute path, be writeable by +# freshclam, and be readable by clamd/clamscan. # Default: hardcoded (depends on installation options) #DatabaseDirectory /var/lib/clamav diff --git a/win32/conf_examples/freshclam.conf.sample b/win32/conf_examples/freshclam.conf.sample index 3e95d81a07..fa7dd961be 100644 --- a/win32/conf_examples/freshclam.conf.sample +++ b/win32/conf_examples/freshclam.conf.sample @@ -9,6 +9,8 @@ Example # Path to the database directory. # WARNING: It must match clamd.conf's directive! +# WARNING: It must already exist, be an absolute path, be writeable by +# freshclam, and be readable by clamd/clamscan. # Default: hardcoded (depends on installation options) #DatabaseDirectory "C:\Program Files\ClamAV\database"