From b822cb159ab273753009f965d7e4abd4b11350d4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 8 Jan 2022 16:17:09 +0100 Subject: [PATCH] suricata: Set correct ownership for default rules file. The file has to be write-able for the WUI. Signed-off-by: Stefan Schantl --- lfs/suricata | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lfs/suricata b/lfs/suricata index 9394d9f475..a870e3668c 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -100,6 +100,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Install yaml file for loading default rules. install -m 0664 $(DIR_SRC)/config/suricata/suricata-default-rules.yaml /var/ipfire/suricata + # Set correct ownership for the default rules file. + chown nobody:nobody /var/ipfire/suricata/suricata-default-rules.yaml + # Create emtpy rules directory. -mkdir -p /var/lib/suricata -- 2.39.5