Add sudo chmod 644 /var/log/ufw.log
This commit is contained in:
1 parent
f0199badf4
commit
0f06233d74
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user