]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 0c3593d37b52ddb68a536ed71b5452a07e432059..d1afe210581a9dd731d10617e75d1decdf6b551e 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