1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librespeed_ynh.git synced 2024-09-03 19:36:23 +02:00

changement des droits du fichier de configuration

This commit is contained in:
rungeard 2021-05-11 17:55:33 +02:00
parent 7f42854675
commit f367dc31db

View file

@ -118,12 +118,13 @@ ynh_setup_source --dest_dir="$final_path"
# files in some cases.
# But FOR THE LOVE OF GOD, do not allow r/x for "others" on the entire folder -
# this will be treated as a security issue.
mv $final_path/'example-singleServer-full.html' "$final_path/index.html"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
mv $final_path/'example-singleServer-full.html' "$final_path/index.html"
#=================================================
# NGINX CONFIGURATION
#=================================================