Files
buildkit/executor/oci
Tonis Tiigi bd8f652e91 executor/oci: avoid delete access for WCOW pin
Open the resolved mount source with GENERIC_READ instead of DELETE.
The nonzero desired access keeps the share-mode pin effective, while
omitting FILE_SHARE_DELETE still prevents the source from being renamed
or deleted before HCS realizes the mount.

Avoid requiring delete permission on legitimate mount sources, which
caused access denied failures for WCOW bind mounts. Keep write sharing
enabled so writable cache contents continue to work normally.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 2523c023ecac816c8131ea08b37f9b84145d5acc)
(cherry picked from commit 0669f4b974)
2026-07-16 17:37:24 -07:00
..
2025-01-13 16:42:48 -08:00
2025-01-13 16:42:48 -08:00