From 73f0ed8976ac1b8fb3715b6f45cdbc5a0b3314bf Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Feb 2006 16:23:05 +0000 Subject: [PATCH] changed ownership of all existing logs --- debian/changelog | 2 +- debian/postinst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5cba8b87..cc66c39c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -fail2ban (0.6.0-3.5) UNRELEASED; urgency=low +fail2ban (0.6.0-3.6) UNRELEASED; urgency=low * Modifications in README.Debian to reflect a "finding" on not-AllowedUsers banning which requires default Debian configuration diff --git a/debian/postinst b/debian/postinst index 6d7d224d..5ef9f91b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -25,8 +25,8 @@ case "$1" in LOG=/var/log/fail2ban.log touch $LOG - chown root:adm $LOG - chmod 640 $LOG + chown root:adm ${LOG}* + chmod 640 ${LOG}* # Note regarding changed configuration file if [ ! -z $preversion ] \