Skip to content

Conversation

@julian-klode
Copy link
Contributor

If the source is a symbolic link pointing at a directory, --parents was ignored, as we entered the "copy as directory" code path.

Fixes: #8330

@julian-klode
Copy link
Contributor Author

Amended with more sensible file names for the test case :D

@julian-klode julian-klode force-pushed the fix-8330 branch 2 times, most recently from c63776f to 763a8ad Compare July 11, 2025 06:08
If the source is a symbolic link pointing at a directory,
--parents was ignored, as we entered the "copy as directory"
code path.

Fixes: uutils#8330
@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit 2ba3a33 into uutils:main Jul 11, 2025
76 checks passed
@cakebaker
Copy link
Contributor

Thanks for your PR!

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 --parents is broken when source is symlink

2 participants