public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Filip Schauer <f.schauer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH container/manager 0/2] make mount point attribute preservation configurable
Date: Wed, 11 Feb 2026 12:06:45 +0100	[thread overview]
Message-ID: <20260211110657.50811-1-f.schauer@proxmox.com> (raw)

The commit 0db559517ac6 (mountpoint_insert_staged: inherit attributes if
directory already exists) introduced automatic propagation of uid, gid,
and mode from the target directory to the mounted filesystem. While this
improves compatibility with some OCI images, it also caused undesired
ownership changes on some mount points.

Since attribute preservation is not always desired, make this behavior
configurable via a new "keepattrs" mountpoint flag. Default to disabled
to preserve historical behavior.

Patch 2/2 exposes this flag in the UI and depends on patch 1/2.

pve-container:

Filip Schauer (1):
  make mount point attribute preservation configurable

 src/PVE/LXC.pm            | 4 +---
 src/PVE/LXC/Config.pm     | 6 ++++++
 src/lxc-pve-prestart-hook | 2 +-
 3 files changed, 8 insertions(+), 4 deletions(-)


pve-manager:

Filip Schauer (1):
  ui: lxc/MPEdit: add "keepattrs" flag

 www/manager6/lxc/MPEdit.js | 15 +++++++++++++++
 1 file changed, 15 insertions(+)


Summary over all repositories:
  4 files changed, 23 insertions(+), 4 deletions(-)

-- 
Generated by git-murpp 0.6.0




             reply	other threads:[~2026-02-11 11:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-11 11:06 Filip Schauer [this message]
2026-02-11 11:06 ` [PATCH container 1/2] " Filip Schauer
2026-02-11 13:49   ` Fabian Grünbichler
2026-02-11 14:43     ` superseded: " Filip Schauer
2026-02-11 11:06 ` [PATCH manager 2/2] ui: lxc/MPEdit: add "keepattrs" flag Filip Schauer
2026-02-11 13:49   ` Fabian Grünbichler

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=20260211110657.50811-1-f.schauer@proxmox.com \
    --to=f.schauer@proxmox.com \
    --cc=pve-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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal