mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Do not fail the postinst if chown/chmod are failing (Closes: #926237)
This commit is contained in:
parent
13305db998
commit
aa90ccba3f
2 changed files with 3 additions and 2 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
4
debian/postinst
vendored
4
debian/postinst
vendored
|
|
@ -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 a new issue