From patchwork Sun Nov 29 10:52:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 3688 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4CkQDg5Qcvz3wqv for ; Sun, 29 Nov 2020 10:52:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4CkQDb4wT1zpF; Sun, 29 Nov 2020 10:52:31 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4CkQDb2knBz2yTl; Sun, 29 Nov 2020 10:52:31 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4CkQDY5QNQz2xq4 for ; Sun, 29 Nov 2020 10:52:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4CkQDT4T5BzRp; Sun, 29 Nov 2020 10:52:25 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1606647145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LRATfiqQJGlT66cDg8XsnegpudR7N96BuyBeGP16bOc=; b=IbXbvn+jfnOwEBm9hfs/Mz3L/2mEzHpJkqZvj4uP8KiZSnKO9uWlyU+x3QLAJ4ZdDyfYEm /1jaQlrZRcHjh7DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1606647145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LRATfiqQJGlT66cDg8XsnegpudR7N96BuyBeGP16bOc=; b=I06eQ+5tS/ATThmcUeW3LQuRzxuOggt+LX+fwm1Y0tuj64ts1fID8clJCEN3EikPqNXw0Q u102ge/VznincQI2s1Z4QTuS7Jh+HPJzL2liRCCZZvJknBTTaQ6d8Iee5BAbbAy8U7+ZIb nWPb2YihfysOwS6mFpDvGi6x7guGH6Z4g1X4/2IoEvyko0EE4mU9eCtuvBgX9XWCjs2Jy2 cVy4QsskW8Cvw5MGeBv1ULyxFDLEWivUSNMob2BYbvQvAYiidiPSuPCCrxrLZxcutGH6Fo jg4JF7SusNEwOrfOgwF+HwRAxLGeW45Ir9b5I/I62Bt8YWtl5VS9VK29nceGZw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/2] configroot: Change ownership of "/var/ipfire/red" to nobody. Date: Sun, 29 Nov 2020 11:52:17 +0100 Message-Id: <20201129105218.2576-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Otherwise the WUI is not allowed to put and release the nobeep file in this folder and the desired functionality does not work. Fixes #12385. Signed-off-by: Stefan Schantl --- lfs/configroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/configroot b/lfs/configroot index 0afacebaf..a37c2c401 100644 --- a/lfs/configroot +++ b/lfs/configroot @@ -171,7 +171,7 @@ $(TARGET) : # Configroot permissions chown -R nobody:nobody $(CONFIG_ROOT) chown root:root $(CONFIG_ROOT) - for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ red/ ; do \ + for i in backup/ header.pl general-functions.pl graphs.pl lang.pl addon-lang/ langs/ ; do \ chown -R root:root $(CONFIG_ROOT)/$$i; \ done chown -Rv root:root $(CONFIG_ROOT)/*/bin From patchwork Sun Nov 29 10:52:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 3687 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4CkQDg5M30z3wpp for ; Sun, 29 Nov 2020 10:52:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4CkQDb5mzKz1fK; Sun, 29 Nov 2020 10:52:31 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4CkQDb3RVrz2ydh; Sun, 29 Nov 2020 10:52:31 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4CkQDY5VBWz2y2V for ; Sun, 29 Nov 2020 10:52:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4CkQDX2Bw9zpF; Sun, 29 Nov 2020 10:52:28 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1606647148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTrSZj8kPuycKOqwZ1hrYfl3FLlIAPCv9sCsBOz8/xY=; b=mxOmQGeAAbF1ZGNuUUiWX2bhF69HTB/W4pA3JB28u18pWSGloN8N4W091gskFrM7MIx7rc ko48peeAMGUFcjBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1606647148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTrSZj8kPuycKOqwZ1hrYfl3FLlIAPCv9sCsBOz8/xY=; b=NeZWnZl0BFMDMOl3Ua2SKoOMVxNymoEz6Rv2G6qL+ZCv/xd2ut8g6gaq4N6hz+7VUgZWi5 tMAeH6RSXyFawXtrF7f/86Ue2foljA9MXIAh/P7jWlvd+z9XbY6M7iEv4TNbcwzI6PIaqa nMkO6xZFPkiPl5yAaB+JRFPp8TAmhLnbcVgpYeL0QaFFdSvlNGaXiIZCQX7y9Z5C9ohye+ sOj5ZnRuvTqVCAIsmXb4Rw+YpUQcSzfilMUBbLlQptk/ihPnRO/nl8xNCYiF2k41w05u7u 4bXIJAa2jfLmZHXfcmuFA84ldE4o9QO4idebJs25B6duA3M3UHx7VpdvlCHEoA== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/2] Core 153: Update ownership of "/var/ipfire/red". Date: Sun, 29 Nov 2020 11:52:18 +0100 Message-Id: <20201129105218.2576-2-stefan.schantl@ipfire.org> In-Reply-To: <20201129105218.2576-1-stefan.schantl@ipfire.org> References: <20201129105218.2576-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Stefan Schantl --- config/rootfiles/core/153/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rootfiles/core/153/update.sh b/config/rootfiles/core/153/update.sh index f94cf4925..873f4ba4d 100644 --- a/config/rootfiles/core/153/update.sh +++ b/config/rootfiles/core/153/update.sh @@ -100,6 +100,9 @@ ldconfig # Update permissions chown -vR root:root /etc/ntp +# Update owernship of "/var/ipfire/red" +chown nobody:nobody /var/ipfire/red + # Update Language cache /usr/local/bin/update-lang-cache