[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-167-g4319a8f
Stephen Gran
steve at lobefin.net
Fri Jun 12 19:12:49 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 0f3cd95eeda1a6009b7c81bd3a705d777844076a
Author: Stephen Gran <steve at lobefin.net>
Date: Fri Jun 12 18:46:45 2009 +0100
Freshclam doesn't need to write to it's config file.
Signed-off-by: Stephen Gran <steve at lobefin.net>
diff --git a/debian/clamav-freshclam.postinst.in b/debian/clamav-freshclam.postinst.in
index 15a3919..3a6dd1d 100644
--- a/debian/clamav-freshclam.postinst.in
+++ b/debian/clamav-freshclam.postinst.in
@@ -235,9 +235,9 @@ EOF
# Tighten the permissions up if it contains a password
if [ -n "$ppass" ]; then
- chmod 600 $FRESHCLAMCONFFILE
+ chmod 400 $FRESHCLAMCONFFILE
else
- chmod 644 $FRESHCLAMCONFFILE
+ chmod 444 $FRESHCLAMCONFFILE
fi
chown "$dbowner":adm $FRESHCLAMCONFFILE
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list