1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Fixes: firewall_rules and upgrade permissions for install_dir

This commit is contained in:
Salamandar 2024-03-15 21:35:43 +01:00
parent 3d05c0cf62
commit 7000e5f83a
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,3 @@
#!/bin/bash #!/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

View file

@ -105,6 +105,8 @@ popd
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R "$app:$app" "$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 # INSTALL PYTHON DEPENDENCIES