1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Fix rights

This commit is contained in:
yalh76 2021-05-28 02:16:18 +02:00
parent b611037523
commit c206729f62
5 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
pkg_dependencies="sipcalc hostapd iptables iw dnsmasq" pkg_dependencies="sipcalc hostapd iptables iw dnsmasq kmod"
nonfree_firmware_packages="firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware firmware-zd1211" nonfree_firmware_packages="firmware-atheros firmware-realtek firmware-ralink firmware-libertas atmel-firmware firmware-zd1211"
free_firmware_packages="firmware-ath9k-htc" free_firmware_packages="firmware-ath9k-htc"

View file

@ -221,7 +221,7 @@ cp -a ../sources/* ${final_path}/
chmod -R 0644 ${final_path}/* chmod -R 0644 ${final_path}/*
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:www-data "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

View file

@ -103,7 +103,7 @@ ynh_script_progression --message="Restoring user rights..."
chmod -R 0644 ${final_path}/* chmod -R 0644 ${final_path}/*
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:www-data "$final_path"
#================================================= #=================================================
# RESTORE THE PHP-FPM CONFIGURATION # RESTORE THE PHP-FPM CONFIGURATION

View file

@ -113,7 +113,7 @@ fi
chmod -R 0644 ${final_path}/* chmod -R 0644 ${final_path}/*
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:www-data "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION