From: Stefan Schantl Date: Fri, 3 Dec 2021 14:57:17 +0000 (+0100) Subject: suricata: Fix ownership of the classification.config file. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e9d89ae37246ceca5786fcf6e4c7991532c1baf;p=people%2Fstevee%2Fipfire-2.x.git suricata: Fix ownership of the classification.config file. The file has to be write-able for the nobody user. Signed-off-by: Stefan Schantl --- diff --git a/lfs/suricata b/lfs/suricata index be0a64d766..9394d9f475 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -107,6 +107,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # to the rules directory. rm -rfv /etc/suricata/*.config + # Set correct ownership for the classifiction config file. + # (File has to be writeable for the nobody user) + chown nobody:nobody /usr/share/suricata/classification.config + # Set correct ownership for /var/lib/suricata and the # contained files chown -R nobody:nobody /var/lib/suricata