suricata: Set correct ownership for /var/lib/suricata
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 1 Oct 2018 18:14:00 +0000 (20:14 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 1 Oct 2018 18:14:00 +0000 (20:14 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
lfs/suricata

index 0c3593d..d1afe21 100644 (file)
@@ -96,6 +96,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # to the rules directory.
        mv /etc/suricata/*.config /var/lib/suricata
 
+       # Set correct ownership for /var/lib/suricata
+       chown nobody:nobody /var/lib/suricata
+
        # Create logging directory.
        -mkdir -p /var/log/suricata