From 0f06233d7444d09278be938ea51d2a7ed0d635c7 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Wed, 30 Oct 2024 17:00:04 +0100 Subject: [PATCH] Add `sudo chmod 644 /var/log/ufw.log` --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index adb5849..2306c90 100644 --- a/install.sh +++ b/install.sh @@ -157,6 +157,11 @@ if ! sudo sed -i "s|^ENCODED_API_KEY_FILE=.*|ENCODED_API_KEY_FILE=\"$token_file\ fi echo +echo "INFO: Setting permissions (chmod 644) for the file /var/log/ufw.log" +sudo chmod 644 /var/log/ufw.log +echo + + # Prompt to add reporter.sh as a service read -rp "> Do you want to add reporter.sh as a service? [Yes/no]: " add_service @@ -225,6 +230,7 @@ else exit 1 fi + # Prompt to add the service to autostart echo read -rp "> Do you want to add abuseipdb-ufw.service to autostart? [Yes/no]: " add_autostart