From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 13B531FF16F for ; Tue, 5 Aug 2025 12:04:34 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 80C54BA5A; Tue, 5 Aug 2025 12:06:04 +0200 (CEST) From: Fiona Ebner To: pve-devel@lists.proxmox.com Date: Tue, 5 Aug 2025 12:03:24 +0200 Message-ID: <20250805100556.40874-1-f.ebner@proxmox.com> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1754388341187 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.024 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH manager] d/tmpfiles: fix permission regression for /run/pve directory X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" There is a regression regarding the permission for the /run/pve directory. In Proxmox VE 8, the directory had root:root 0755 permissions, being auto-created as the lxc-syscalld runtime directory. In Proxmox VE 9, the permissions were restricted to root:root 0750, but this leads to an issue with remote migration, when pveproxy tries to access the mtunnel socket: pveproxy[2484]: connect to 'unix/:/run/pve/ct-112.mtunnel' failed: Permission denied Relax the permissions again by allowing the www-data group read-access, so that pveproxy can access the socket. This aligns the permissions with what /run/pve-cluster has. Reported-by: Hannes Laimer Signed-off-by: Fiona Ebner --- debian/tmpfiles | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/tmpfiles b/debian/tmpfiles index 98b8fb96..1263300f 100644 --- a/debian/tmpfiles +++ b/debian/tmpfiles @@ -1,2 +1,2 @@ -#Type Path Mode User Group Age Argument -d /run/pve 0750 root root - - +#Type Path Mode User Group Age Argument +d /run/pve 0750 root www-data - - -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel