From c9991c25d9faf158e03cf759f533333fb4d38f6f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 30 Jun 2004 08:26:01 +0000 Subject: set /var/log/clamav/freshclam.log owner to clamav --- move/move.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index 096e9f2d6..b7c36b227 100644 --- a/move/move.pm +++ b/move/move.pm @@ -159,6 +159,8 @@ sub init { #- non-trivial files/directories that need be readable, files that will be overwritten handle_etcfiles('READ', 'OVERWRITE'); + run_program::run('chown', 'clamav.clamav', '/var/log/clamav/freshclam.log'); + #- create remaining /etc and /var subdirectories if not already copied or symlinked, #- because programs most often won't try to create the missing subdir before trying #- to write a file, leading to obscure unexpected failures -- cgit v1.2.1