From patchwork Sun Nov 14 17:27:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1554919 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=A4Y/GpNO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::539; helo=mail-ed1-x539.google.com; envelope-from=swupdate+bncbcxploxj6ikrbseoywgamgqem3z2x6i@googlegroups.com; receiver=) Received: from mail-ed1-x539.google.com (mail-ed1-x539.google.com [IPv6:2a00:1450:4864:20::539]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HsfSC3yC8z9sWJ for ; Mon, 15 Nov 2021 04:28:43 +1100 (AEDT) Received: by mail-ed1-x539.google.com with SMTP id i9-20020a508709000000b003dd4b55a3casf12098079edb.19 for ; Sun, 14 Nov 2021 09:28:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636910920; cv=pass; d=google.com; s=arc-20160816; b=NrffVDu9wKpQMKGUa0YeqHO3MJ925dLQEF73iK0v1aliDFC8TSO4+Nogf3eVwrYky2 aL4bn94Vj9fEJ5hIzQtn7gZrt5GpgRuTq7bcRqeW6teKjiQr1AkAQMsAQnYvTTLFM7hX 6mcGt1IUNkasKZFFPopbdumJknrpFJ8jhiW7qzIRYSocnzYsU1NrZUZT1Ets/S7Qbu8F EjfSQ2rXmIIvtd8VmikGs590omLYucOKs39iD+pkVWgcEbo3FHWGwdeNFTWUg4HCmEcb 1XLadA4Aea9dZ1wKHnuezorTrgCYNghLDtVPrayp795TJgLMLr2fKw7j0591UNOPgnua 7W0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=fMNQHVhQT9p70ft9HCgHBRVq4qrLrazmQAZ+VpN0Pcg=; b=hG0NXfBhryLQEbo+20POrvLmrGcVUGQZpBwPYoE+J35/EikH2Dhnzutj9EvrPT1Tiw k+JjLyYx/94QAKEQw/vrBT24i95P2DrVHjb7VdZfVSR4qus+o5FYMOU7H0Eu9pePApg4 15D8HHaiHQlSfbme4P/P6Nry/LG6J9MSNQuMwBQbA+4959h9PXSkeQqv5+eRxN8xBFwm Dxjge1wEJOISUnk338x/sZ4zf6M9G4af4W/RXFpPBPmi2mJaHLzo3/P4NEe6PTwPq/Bs 0KYwYf2a17tEtMO+iZUJ9iYN1WR/9KMzPEvzSHDFZDdPpR7C1mmte9T9UHHGNiJMPnHO EhCA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=fMNQHVhQT9p70ft9HCgHBRVq4qrLrazmQAZ+VpN0Pcg=; b=A4Y/GpNOlY3PrcFvvCQwbcg/HTNkLS+D8AEZQX41FsQ2mvWl1kuU7oQtMjUUijlgQ+ T5aUDqN9whYpey82Q9da41sy1C1pxZKZZ4RNL1PrUGE0zOEXnQ5aJUDCW2kY/ttzZlUD 18qukfYjpONiQ/KyYli9uOpWSr3aUV0F8A/2LtKwY0vIp8/yQYu/8+30VMDxBlnZLDKV +8sQI1FoyKR6isAiVQn/HwJnlk418O4lf3KHOn1giCPsnWBZ6iGe/rYZ8/sxGan+gMgn XN+F5EyYoavT9M+WOCz1y20F8oaHitHuns09eypvafXULTyrvsEUoNjpn/0uXoeLpiZB Sf0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=fMNQHVhQT9p70ft9HCgHBRVq4qrLrazmQAZ+VpN0Pcg=; b=4SHn2mhXduJTpRLElU69rUQAKqbocspf8f7cqKj+LQsoFMLWi4FrjlxwIDC0Ob756m UqEkG3z93sutYLCmYbwYjFIfbialkz8xgZp7a1GavEc1pOYtvSV2bTFLvcex4MJpOP4s mti6XTqwZadegu2ur1YeUhZG2B0W1GNFDvob053KWjBijApfVrgBXJY1dh+eS6X10J3Q YGicbwKKgzn4eE3df/bqXivjAV08UAn/0v5VkEfr2nQfHtZQwjYnkWiKO/T9g4Q6ruJk M393cFwPuyqEIuCIpWmxxSV9x/rSIKkAtItCb74C4W9626tmDLoN2PLjCwr5NheJiob2 zFWQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531cTi0o2dkcF09pT8h19Tjg0mSTDZaUuS+7amcc2qpNg1Ps9XZv 5Gn2kPCAXOfJXi0w1qXZL0s= X-Google-Smtp-Source: ABdhPJwMZw72COYKpwn52naofeHH450lUFi12kKOCYyPwJFilz94v+YvjCW7lS9Vz0tTtUhxPNkrbw== X-Received: by 2002:a50:9eaa:: with SMTP id a39mr44417583edf.1.1636910920777; Sun, 14 Nov 2021 09:28:40 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a17:907:7f0b:: with SMTP id qf11ls4624956ejc.7.gmail; Sun, 14 Nov 2021 09:28:40 -0800 (PST) X-Received: by 2002:a17:906:b254:: with SMTP id ce20mr43184804ejb.255.1636910919952; Sun, 14 Nov 2021 09:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636910919; cv=none; d=google.com; s=arc-20160816; b=SUK8MDuj8kBwqvo78NQZTV90BJkLlb1XqRftE+xuLaFmVs3m7SFOBQfH+S11pGvU47 PqfU8URK2lVj/eBhwbIY9Y4GVnIn1jEewwetzEcvDQDCThVaioRsAch9tTiv58dmat+T 5OCRfzD2gGk4ETwWLTGQnMG6kiB3xK73c9pf/F3UNNLo0KxEtzfuykoTQdpfXQuIbD7I 614mZiZY8TpWSt+3xrkM6t2r0lxwciQ3jodZOT9ngg+Pl5DARp1H/LtBeveEDkPEWlmb PmbxBA4qjmZJTxLXNQvvmq23NUclNBGYPqY6j7Dfa0Mw51b/j86AIsc4uvrBSRsZVaNI YboQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=7+E4ziKLSMjmnhIIqfko2BQEKF+kcghm9Sg1clvtJ0U=; b=YEwdAMksYJMaakMMJBgCBUV07bNVR1sDuGEvDg7HaGy+HVpsdNd0bzBNZAkizIuxbL 5lRsyt5Xba+Lj8y8uOFThKT+5vlEqQHdMkqLnMTT1Soif+jFytDRjD6i693ZHVQ3PL6U iVMSyCAxTGhlJhn8mbsRhZDJSLv86mx+Rp5tdjaXFpMNR+yd5TpHFZneQniM8oIe8AeD h2SpdD3wgID+RKd0NceIX6nq4culGuS8JKICVUvqDuC1IDRyTc3wfyTgTi/WXteEOKw8 SUYiP5a9ZDSseb6Ly4dZ/mAdyJ/zKQIdxWv1NKZ3y6Vk+xrz08GYYv320tj5EfI8I9A2 ov4A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id bi21si922543edb.0.2021.11.14.09.28.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Nov 2021 09:28:39 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HsfS75HDrz1rk5m; Sun, 14 Nov 2021 18:28:39 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HsfS751rCz1qqkB; Sun, 14 Nov 2021 18:28:39 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 1wPRa5plM16w; Sun, 14 Nov 2021 18:28:38 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 14 Nov 2021 18:28:38 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id ED5304540853; Sun, 14 Nov 2021 18:28:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GtOkwqM1KGP1; Sun, 14 Nov 2021 18:28:35 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id E4AAB4542885; Sun, 14 Nov 2021 18:27:46 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH V2 28/36] example: userid and groupid in case of downloader Date: Sun, 14 Nov 2021 18:27:25 +0100 Message-Id: <20211114172733.71602-29-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211114172733.71602-1-sbabic@denx.de> References: <20211114172733.71602-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- examples/configuration/swupdate.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/configuration/swupdate.cfg b/examples/configuration/swupdate.cfg index 7d15bb5..2f19ffa 100644 --- a/examples/configuration/swupdate.cfg +++ b/examples/configuration/swupdate.cfg @@ -82,6 +82,10 @@ logcolors : { # complete URL pointing to the SWU image of the update package # retries : integer # Number of retries (0=forever) +# userid : integer +# userID for Webserver process +# groupid : integer +# groupId for Webserver process # timeout : integer # it is the number of seconds that can be accepted without # receiving any packets. If it elapses, the connection is @@ -95,6 +99,8 @@ download : retries = 3; timeout = 1800; url = "http://example.com/software.swu"; + userid = 1000; + groupid = 1000; }; #