From bc41bb0780b42074cbadd53ca33587287b08998f Mon Sep 17 00:00:00 2001 From: tbrehm Date: Sun, 16 Mar 2008 12:40:08 +0000 Subject: [PATCH] Updated installer to make the clamav log files readable by the ispconfig interface. --- install/lib/installer_base.lib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/lib/installer_base.lib.php b/install/lib/installer_base.lib.php index bd9f3453f9..4ab9a95ef4 100644 --- a/install/lib/installer_base.lib.php +++ b/install/lib/installer_base.lib.php @@ -681,6 +681,10 @@ class installer_base { if(!is_link("$vhost_conf_enabled_dir/ispconfig.vhost")) { exec("ln -s $vhost_conf_dir/ispconfig.vhost $vhost_conf_enabled_dir/ispconfig.vhost"); } + + // Make the Clamav log files readable by ISPConfig + exec('chmod +r /var/log/clamav/clamav.log'); + exec('chmod +r /var/log/clamav/freshclam.log'); } public function install_crontab() -- GitLab