diff --git a/scripts/change_url b/scripts/change_url index 060c9e8..fc32d02 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -26,7 +26,6 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Loading installation settings..." --weight=1 -# Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) datadir=$(ynh_app_setting_get --app=$app --key=datadir) diff --git a/scripts/restore b/scripts/restore index e3ec426..a368b00 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,6 +67,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +chmod -R +x "$final_path/filebrowser" #================================================= # RESTORE THE DATA DIRECTORY