fix perms for config.yaml installation (#1661)

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
Manuel Sabban 2022-07-12 16:05:27 +02:00 committed by GitHub
parent 39da36361c
commit 9fac14488a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
debian/rules vendored
View file

@ -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