Skip to content

cp: preserve permission error context in recursive copies - #15487

Open
limadog9 wants to merge 1 commit into
uutils:mainfrom
limadog9:fix/cp-recursive-error-context-9235
Open

limadog9 wants to merge 1 commit into
uutils:mainfrom
limadog9:fix/cp-recursive-error-context-9235

Conversation

@limadog9

Copy link
Copy Markdown
Contributor

Recursive copies blamed the source for permission failures when the destination could not be opened. Preserve the original operation context while continuing the traversal.

Regression coverage checks unwritable destinations across reflink and sparse modes, retained destination contents, and continued copying. All 395 cp integration tests pass.

Closes #9235.

Recursive copies blamed the source for permission failures when the destination could not be opened. Preserve the original operation context while continuing the traversal.

Regression coverage checks unwritable destinations across reflink and sparse modes, retained destination contents, and continued copying. All 395 cp integration tests pass.

Closes uutils#9235.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cp -r throws read permission error on unwritable destination file (mode: 440)

1 participant