From patchwork Tue Jun 1 20:23:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 4384 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 "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FvkCD5llsz3wbh for ; Tue, 1 Jun 2021 20:24:08 +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 "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FvkCB5T7Tz15p; Tue, 1 Jun 2021 20:24:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FvkCB3QVPz2xKj; Tue, 1 Jun 2021 20:24:06 +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 "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FvkC846W7z2xKf for ; Tue, 1 Jun 2021 20:24:04 +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 4FvkC72pjfzSL for ; Tue, 1 Jun 2021 20:24:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1622579043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+xFQbAx8oKacqm1bJLsNDwUvEFpVW/ADnHiyyVHI8Pk=; b=qB1rs1Pghc7Hv8r+u+Fo8TfYQAt4edUMEybs8p35D0msAkOQYccjnqwmWalw/PVZeZrQ1S ikGGY9CkU99GZKAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1622579043; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+xFQbAx8oKacqm1bJLsNDwUvEFpVW/ADnHiyyVHI8Pk=; b=qrQ29w+CgPVykYJTxMchFl5Ei78cKS8fEO8xVafHKjzt2dsnSPM658Xvg0EjjSVpmu9VPh g3YLxCoxeFKhc4PFnUmy5VK+b0GyNSuo8eGgLuP3IqTpWbhoixEZJlUJIFKmXdElFY/IVi 6I2jyZwHVu9OG/1Tg6HcEwu2S2IviRuqrQTnkft8KBrGcCV0uRmRkZ5MCtumeozHcuP+gm 37ektRrnGhX2YjXiKAST0Qi/bvYeqHtjyK8DKIgKlfkVy7+RriCtP1CBa2laUcDcz3jOee IDiEaT0804Q0l73PZVYKEjNJLs23ZUmAS/W8huGOU31D7hSDxmwjVc2tvs+Vlw== To: "IPFire: Development" From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] configroot: prevent any Perl file within /var/ipfire/ from being owned by nobody Message-ID: <5f5cbc99-e011-15d6-59e9-d15b78b292cd@ipfire.org> Date: Tue, 1 Jun 2021 22:23:59 +0200 MIME-Version: 1.0 Content-Language: en-US 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: Peter Müller --- lfs/configroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/configroot b/lfs/configroot index 2ab9cc29b..02b2883ba 100644 --- a/lfs/configroot +++ b/lfs/configroot @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2018 IPFire Team # +# Copyright (C) 2007-2021 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -169,7 +169,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/ ; do \ + for i in backup/ *.pl addon-lang/ langs/ ; do \ chown -R root:root $(CONFIG_ROOT)/$$i; \ done chown -Rv root:root $(CONFIG_ROOT)/*/bin