From patchwork Mon Mar 20 17:47:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6713 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 4PgMdS3GwHz3x6w for ; Mon, 20 Mar 2023 17:47:40 +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 4PgMdQ5pNxzh6; Mon, 20 Mar 2023 17:47:38 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PgMdQ45Yxz2xfN; Mon, 20 Mar 2023 17:47:38 +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 4PgMdP2SXwz2xbf for ; Mon, 20 Mar 2023 17:47:37 +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 4PgMdN1FvZzLb; Mon, 20 Mar 2023 17:47:36 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1679334456; 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=yFtze767WmpAQyggYT9GPoPMvNXzL0My6pUml+AgVio=; b=US4p7t9RdzUouq0VBhjHF7qdXZjJnnV1nKYtsjozjkj2nQXl3yNwmasoZtpl/HHotyZQ+6 33gjRwxMoszWDDBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1679334456; 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=yFtze767WmpAQyggYT9GPoPMvNXzL0My6pUml+AgVio=; b=iFl9Mfe0as2BjYbEASHiAF6/i4yURpkAJGGJvPHWnxcRIp1wh0I1N3nJcIFDUO+8uWaYj6 am3ggNA/oAVRlUXtirY4s7MZNAsDJRiB9bZuWV2yYgk8C9ZfFGlwJMY/FeMl5QppB7BP9R QGddS7FTZqnOioESUbvaUDh9XATEUkPVTAKpBb3IVSCoNah8Z1cIfe8YsOT3h1nkEHH3Vf Sb89DrxIh0M4w7TjDSLmXrFbWnQi4xpx9ez3txU5I0fZqpctrdugZq/ylfuT/ouE5iFcTY Fw6R7oteCXm7vjSD235hFOiYUQ6BwFgL8Qh851ySpNAFVWyxQ4Db4hJr/aQL+w== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] FHS: Allow /var/mail owned by root:mail Date: Mon, 20 Mar 2023 18:47:25 +0100 Message-Id: <20230320174725.227021-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 --- src/libpakfire/fhs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpakfire/fhs.c b/src/libpakfire/fhs.c index 8e85f29d..4582feaa 100644 --- a/src/libpakfire/fhs.c +++ b/src/libpakfire/fhs.c @@ -99,7 +99,7 @@ static const struct pakfire_fhs_check { { "/var/empty", S_IFDIR, 0755, "root", "root", 0 }, { "/var/lib", S_IFDIR, 0755, "root", "root", 0 }, { "/var/log", S_IFDIR, 0755, "root", "root", 0 }, - { "/var/mail", S_IFDIR, 0755, "root", "root", 0 }, + { "/var/mail", S_IFDIR, 0755, "root", "mail", 0 }, { "/var/opt", S_IFDIR, 0755, "root", "root", 0 }, { "/var/run", S_IFLNK, 0755, "root", "root", 0 }, { "/var/spool", S_IFDIR, 0755, "root", "root", 0 },