From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id BC7611FF09F for ; Tue, 01 Dec 2026 10:11:26 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 7BFC5216D0; Tue, 01 Dec 2026 10:11:18 +0100 (CET) From: Dietmar Maurer To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox-backup 2/5] client: pxar: name the directory of an unreadable .pxarexclude Date: Tue, 1 Dec 2026 10:11:08 +0100 Message-ID: <20261201091111.940190-3-dietmar@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261201091111.940190-1-dietmar@proxmox.com> References: <20261201091111.940190-1-dietmar@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL -0.483 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Message-ID-Hash: M3XCSR2MWB6DZA7B5U6KK45TLFU5XQF6 X-Message-ID-Hash: M3XCSR2MWB6DZA7B5U6KK45TLFU5XQF6 X-MailFrom: dietmar@zilli.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 Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The warning only named the file itself, which leaves the user to guess which of possibly many .pxarexclude files was not applied. Signed-off-by: Dietmar Maurer --- pbs-client/src/pxar/create.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pbs-client/src/pxar/create.rs b/pbs-client/src/pxar/create.rs index 1d6e541ae..e21d73f69 100644 --- a/pbs-client/src/pxar/create.rs +++ b/pbs-client/src/pxar/create.rs @@ -502,7 +502,8 @@ impl Archiver { Ok(fd) => fd, Err(Errno::ENOENT) => return Ok(()), Err(Errno::EACCES) => { - warn!("failed to open file: \".pxarexclude\": access denied"); + let path = self.path.join(".pxarexclude"); + warn!("failed to open file: {path:?}: access denied"); return Ok(()); } Err(Errno::ESTALE) => { -- 2.47.3