Fix Windows COPY --parents with skip protected system files by rzlink · Pull Request #6369 · moby/buildkit (original) (raw)
Fixes copying from Windows container mount roots by detecting and skipping protected system files ('System Volume Information' and 'WcSandboxState') that cause 'Access is denied' errors.
Changes:
- Added platformCopy wrapper for Windows copy operations
- Implemented manual directory enumeration to skip protected files
- Enabled test case testCopyRelativeParents and testCopyParentsMissingDirectory on Windows
The fix is Windows-specific and only activates when copying from mount roots where protected files exist. All other copy operations use the standard path.
Issue: Resolves moby#6635 [v0.26] WCOW: Fix COPY --parents tests Signed-off-by: Dawei Wei wei.dawei.cn@gmail.com
rzlink deleted the fix-windows-copy-with-protected-files branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})