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 B76071FF138 for ; Wed, 18 Mar 2026 18:08:35 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9B39D83DF; Wed, 18 Mar 2026 18:08:48 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, Stoiko Ivanov Subject: applied: [RFC PATCH cluster] pmxcfs: explicitly set implicit mkdir mode to 0750 Date: Wed, 18 Mar 2026 18:08:05 +0100 Message-ID: <177385368234.97374.12227964589412944485.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260318165504.698579-1-s.ivanov@proxmox.com> References: <20260318165504.698579-1-s.ivanov@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1773853652888 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.261 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 KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: S5L6PBH2C6VUADIYLAFWRLVU2GW2UG6C X-Message-ID-Hash: S5L6PBH2C6VUADIYLAFWRLVU2GW2UG6C X-MailFrom: t.lamprecht@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, 18 Mar 2026 17:51:46 +0100, Stoiko Ivanov wrote: > In a recent discussion on pve-devel[0] the question of why > /run/pve-cluster has a mode of 0750 instead of 0755 provided for the > mkdir call that creates it came up. > > Sending this patch as it took me a while to find the reason - 3 lines > above that mkdir call we set umask(027). (see mkdir(2) and umask(2)), > which is effective for the whole process. > > [...] Applied, thanks! [1/1] pmxcfs: explicitly set implicit mkdir mode to 0750 commit: d4c537641a6041725afa4400c0c84910e40f73a5