From a626515f12626f1f6d02f1103ba42b3f05659621 Mon Sep 17 00:00:00 2001 From: Leo Antunes Date: Mon, 18 Oct 2021 23:50:47 +0200 Subject: [PATCH] d/rules: fix permissions for /etc/knockd.conf Closes: #902022 --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 2ac25b9..2280fa4 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,8 @@ override_dh_install: dh_install # original installation has duplicate docs for knock and knockd rm -rf debian/knockd/usr/share/doc/knock + # be more restrictive + chmod 0600 debian/knockd/etc/knockd.conf # the standard config is unsafe override_dh_installsystemd: