From 7000e5f83adf011d00baf5aa7bb4544a8f9a87b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 15 Mar 2024 21:35:43 +0100 Subject: [PATCH] Fixes: firewall_rules and upgrade permissions for install_dir --- conf/firewall_rules.sh | 2 +- scripts/upgrade | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/firewall_rules.sh b/conf/firewall_rules.sh index 580a940..5b886f0 100644 --- a/conf/firewall_rules.sh +++ b/conf/firewall_rules.sh @@ -1,3 +1,3 @@ #!/bin/bash -iptables -t filter -A INPUT -i lxdbr0 -p udp -d 255.255.255.255 --dport 67 -j ACCEPT +iptables -t filter -A INPUT -i incusbr0 -p udp -d 255.255.255.255 --dport 67 -j ACCEPT diff --git a/scripts/upgrade b/scripts/upgrade index 352e0ad..52ade96 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,6 +105,8 @@ popd chmod -R o-rwx "$install_dir" chown -R "$app:$app" "$install_dir" +chown "$app:www-data" "$install_dir" +chown -R "$app:www-data" "$install_dir/results" #================================================= # INSTALL PYTHON DEPENDENCIES