summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-30 08:26:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-30 08:26:01 +0000
commitc9991c25d9faf158e03cf759f533333fb4d38f6f (patch)
tree69febe435789dda706e774e53d63067c06691e4a /move
parent94354b67f9a4bcf72a2106ea74e7e9c1a55d8465 (diff)
downloaddrakx-c9991c25d9faf158e03cf759f533333fb4d38f6f.tar
drakx-c9991c25d9faf158e03cf759f533333fb4d38f6f.tar.gz
drakx-c9991c25d9faf158e03cf759f533333fb4d38f6f.tar.bz2
drakx-c9991c25d9faf158e03cf759f533333fb4d38f6f.tar.xz
drakx-c9991c25d9faf158e03cf759f533333fb4d38f6f.zip
set /var/log/clamav/freshclam.log owner to clamav
Diffstat (limited to 'move')
-rw-r--r--move/move.pm2
1 files changed, 2 insertions, 0 deletions
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