diff --git a/scripts/upgrade b/scripts/upgrade index f38c139..77cf803 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -185,6 +185,8 @@ chown $app:$app "$final_path/some_config_file" ### ynh_replace_string --match_string="match_string" --replace_string="replace_string" --target_file="$final_path/some_config_file" ### ynh_store_file_checksum --file="$final_path/some_config_file" +chown -R $app: "$final_path" + #================================================= # SETUP SYSTEMD #=================================================