From patchwork Mon May 17 19:07:32 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: 4320 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FkTCs2yz2z3wbk for ; Mon, 17 May 2021 19:07:37 +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 "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FkTCr6pdWz1Zf; Mon, 17 May 2021 19:07:36 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FkTCr6Jjcz2ybq; Mon, 17 May 2021 19:07:36 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FkTCq5qhpz2xd6 for ; Mon, 17 May 2021 19:07:35 +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)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FkTCp6d7Pzs2 for ; Mon, 17 May 2021 19:07:34 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1621278455; 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: in-reply-to:in-reply-to:references:references; bh=zsX7gSlV+Aw6ZJCC9PaD1RE/s1XDRpGR3FUkTQgyKLI=; b=7XZpFIdh3MCADWa/DcaWrhwNUBSjtK5PQ8OZvVxXm0y+Zi3jGMYmrrHLI9QjHkQ9enfc/X q+CwZvyC2+eZmwBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1621278455; 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: in-reply-to:in-reply-to:references:references; bh=zsX7gSlV+Aw6ZJCC9PaD1RE/s1XDRpGR3FUkTQgyKLI=; b=Wk4rLdh/W96Bb4Z2PqUIgQAjR4MH/ugfwIxXaXG2vbck9jMek74ECeJLrERVKuUAON5Kpm f7yHPKwbd47aBQirDlcOVaKV0ehTIW/EoPCE93tzqTvdx3u6XmkJ+vgqgtgk4Np26mytuD uulOY+nlM56j0NL51/kk2A4wrpedx2AAOdiIO9SE+ZGNIWET1HSUrOj62i5bESuQ0p6ni8 BDccmiMwaARypAnvVrtZzBTlWJyB6jGoABKqdpaJuD4lG4L5U7567UAOiXL1oqxPTv4SLP FdDbzIry4vEll+KsmIAnCWco9RqS/1jSNlq3YW3O46MLOmXkGo6DnilGRv/6MA== Subject: [PATCH 19/20] Squid: cachemgr.cgi does not have to be owned (hence writeable) by nobody To: development@lists.ipfire.org References: <7b61506c-84b9-f4e8-7a5f-5a8e8a39f795@ipfire.org> <4924bc88-655d-2a81-96de-000a7362bece@ipfire.org> <6a4b79d4-6fdd-612f-36d4-e7614f1164be@ipfire.org> <2fb1ab47-34a4-f58d-93a8-3e2f79f122ff@ipfire.org> <0bd0080a-d095-5028-22fa-7d5436b9baf3@ipfire.org> <4d993216-9803-346c-3f54-de35633d1205@ipfire.org> <0334d010-8b7d-7e4c-bf29-83f9bf12c229@ipfire.org> <62f381bd-c870-107a-cd81-27cb283660bb@ipfire.org> <6eb3152c-47f8-5687-6241-ad699ab6c7bd@ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= Message-ID: <3368b7e2-c4e8-076f-1dbc-75945b1a037f@ipfire.org> Date: Mon, 17 May 2021 21:07:32 +0200 MIME-Version: 1.0 In-Reply-To: <6eb3152c-47f8-5687-6241-ad699ab6c7bd@ipfire.org> 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/squid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/squid b/lfs/squid index 18cb30ef7..38675f3f3 100644 --- a/lfs/squid +++ b/lfs/squid @@ -149,7 +149,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) chown -R squid:squid /var/log/squid /var/log/cache /var/log/updatexlrator cp /usr/lib/squid/cachemgr.cgi /srv/web/ipfire/cgi-bin/cachemgr.cgi - chown nobody.nobody /srv/web/ipfire/cgi-bin/cachemgr.cgi + chown root:root /srv/web/ipfire/cgi-bin/cachemgr.cgi cp -f $(DIR_SRC)/config/updxlrator/updxlrator /usr/sbin/updxlrator cp -f $(DIR_SRC)/config/updxlrator/checkup /var/ipfire/updatexlrator/bin/checkup