Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp: backup dest symlink linking to source #5739

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

cakebaker
Copy link
Contributor

This PR covers a special case of #5731, with the destination being a symlink to the source. So far this caused a "same file" error whereas it works fine with GNU cp.

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker force-pushed the cp_backup_with_symlink_to_source branch from 593773e to 7bd2074 Compare December 31, 2023 13:20
 is_forbidden_copy_to_same_file -> is_forbidden_to_copy_to_same_file
@cakebaker cakebaker force-pushed the cp_backup_with_symlink_to_source branch from 7bd2074 to 902a128 Compare December 31, 2023 13:36
@sylvestre sylvestre merged commit 36039a8 into uutils:main Jan 14, 2024
54 of 56 checks passed
@cakebaker cakebaker deleted the cp_backup_with_symlink_to_source branch January 15, 2024 06:02
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.

2 participants