From: Dietmar Maurer <dietmar@proxmox.com>
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 [thread overview]
Message-ID: <20261201091111.940190-3-dietmar@proxmox.com> (raw)
In-Reply-To: <20261201091111.940190-1-dietmar@proxmox.com>
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 <dietmar@proxmox.com>
---
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
next prev parent reply other threads:[~2026-12-01 9:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 9:11 [PATCH proxmox-backup 0/5] client: report or fail on files left out for lack of permission Dietmar Maurer
2026-12-01 9:11 ` [PATCH proxmox-backup 1/5] client: pxar: handle open errors at the call sites Dietmar Maurer
2026-12-01 9:11 ` Dietmar Maurer [this message]
2026-12-01 9:11 ` [PATCH proxmox-backup 3/5] client: pxar: let callers see entries left out for lack of permission Dietmar Maurer
2026-12-01 9:11 ` [PATCH proxmox-backup 4/5] client: pxar: optionally fail on " Dietmar Maurer
2026-12-01 9:11 ` [PATCH proxmox-backup 5/5] client: backup: add option to fail on files that cannot be read Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201091111.940190-3-dietmar@proxmox.com \
--to=dietmar@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox