From 9fac14488a376a232d29eca41454b2db81064fca Mon Sep 17 00:00:00 2001 From: Manuel Sabban Date: Tue, 12 Jul 2022 16:05:27 +0200 Subject: [PATCH] fix perms for config.yaml installation (#1661) Co-authored-by: sabban <15465465+sabban@users.noreply.github.com> --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 88e838f16..6e5fbd9c0 100755 --- a/debian/rules +++ b/debian/rules @@ -47,3 +47,6 @@ override_dh_auto_install: cp config/console.yaml debian/crowdsec/etc/crowdsec/console.yaml cp -a config/patterns debian/crowdsec/etc/crowdsec +override_dh_fixperms: + dh_fixperms + chmod 600 debian/crowdsec/etc/crowdsec/config.yaml