From: Christian Ebner <c.ebner@proxmox.com>
To: Dietmar Maurer <dietmar@proxmox.com>, pbs-devel@lists.proxmox.com
Subject: Re: [PATCH proxmox-backup 3/5] client: pxar: let callers see entries left out for lack of permission
Date: Wed, 2 Dec 2026 11:16:44 +0100 [thread overview]
Message-ID: <0c47b62b-514e-43d7-af01-84a98b5cf9fb@proxmox.com> (raw)
In-Reply-To: <20261201091111.940190-4-dietmar@proxmox.com>
On 12/1/26 10:11 AM, Dietmar Maurer wrote:
> Entries that cannot be opened or stat'ed for lack of permission are
> left out of the archive with a warning in the log, and the backup
> succeeds. A caller that reports on a backup, such as a graphical
> client showing its result, cannot tell such a run from a complete one
> without parsing the log.
>
> An optional callback now gets the archive-relative path of each entry
> left out this way. The warnings stay as they were, and existing
> callers pass no callback, so their behavior is unchanged.
>
> An unreadable .pxarexclude is reported when its directory's patterns
> are read, as they are not applied then, which can include much more
> data than intended. It is not reported again when opened as an entry,
> nor missed when a pattern excludes it as such.
>
> Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Shouldn't this also cover the ESTALE and (less critical in the intended
context AFAIU) ENOENT errors?
It could make sense to generalize the callback a bit more and pass the
Errno as parameter, letting the caller decide which ones to act upon?
next prev parent reply other threads:[~2026-12-02 10:16 UTC|newest]
Thread overview: 7+ 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 ` [PATCH proxmox-backup 2/5] client: pxar: name the directory of an unreadable .pxarexclude Dietmar Maurer
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-02 10:16 ` Christian Ebner [this message]
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=0c47b62b-514e-43d7-af01-84a98b5cf9fb@proxmox.com \
--to=c.ebner@proxmox.com \
--cc=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