public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH container/manager v2 0/2] make mount point attribute preservation configurable
@ 2026-02-11 14:41 Filip Schauer
  2026-02-11 14:41 ` [PATCH container v2 1/2] " Filip Schauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Filip Schauer @ 2026-02-11 14:41 UTC (permalink / raw)
  To: pve-devel

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.

Changed since v1:
* Improve descriptions of new "keepattrs" flag

pve-container:

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

 src/PVE/LXC.pm            | 4 +---
 src/PVE/LXC/Config.pm     | 9 +++++++++
 src/lxc-pve-prestart-hook | 2 +-
 3 files changed, 11 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, 26 insertions(+), 4 deletions(-)

-- 
Generated by git-murpp 0.6.0




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-12 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-11 14:41 [PATCH container/manager v2 0/2] make mount point attribute preservation configurable Filip Schauer
2026-02-11 14:41 ` [PATCH container v2 1/2] " Filip Schauer
2026-02-11 14:41 ` [PATCH manager v2 2/2] ui: lxc/MPEdit: add "keepattrs" flag Filip Schauer
2026-02-12 14:31 ` applied-series: [PATCH container/manager v2 0/2] make mount point attribute preservation configurable Fabian Grünbichler

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