mirror of https://github.com/fail2ban/fail2ban
Do not fail the postinst if chown/chmod are failing (Closes: #926237)
parent
13305db998
commit
aa90ccba3f
|
@ -12,6 +12,7 @@ fail2ban (0.11.2-3) unstable; urgency=medium
|
|||
* Fix the watch file
|
||||
* Fix the roundcube debian custom path (Closes: #988323)
|
||||
Thanks to Kurt Fitzner for the patch
|
||||
* Do not fail the postinst if chown/chmod are failing (Closes: #926237)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 23 Oct 2021 16:09:47 +0200
|
||||
|
||||
|
|
|
@ -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}* || true
|
||||
chmod 640 ${LOG}* || true
|
||||
|
||||
# Note regarding changed configuration file
|
||||
# Note regarding changed configuration file
|
||||
|
|
Loading…
Reference in New Issue