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: show mode if target does not have S_IWUSR (PR #6696) #6700

Merged
merged 9 commits into from
Sep 18, 2024

Conversation

andrewliebenow
Copy link
Contributor

No description provided.

andrewliebenow and others added 7 commits September 15, 2024 09:21
If the target exists, and does not have the user write bit (S_IWUSR)
set, additional information should be added to the overwrite
confirmation prompt.

This should get the "i-2" test to pass. See
uutils#6658.
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
@sylvestre sylvestre changed the title Fix issue 6658 rebased cp: show mode if target does not have S_IWUSR (PR #6696) Sep 16, 2024
@sylvestre
Copy link
Contributor

could you please add a test to make sure we don't regress?
thanks

@andrewliebenow
Copy link
Contributor Author

I've added two tests. I will add some more in my next PR (which will address an edge case and fix another small bug in cp).

@andrewliebenow
Copy link
Contributor Author

I missed this related PR: #6659. I've noticed some other issues in cp, so regardless of which PR is merged in to fix the i-2 test, I will make another PR to address those.

Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/mv/i-2 is no longer failing!

1 similar comment
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/mv/i-2 is no longer failing!

@andrewliebenow andrewliebenow force-pushed the fix-issue-6658-rebased branch 2 times, most recently from b601f9d to 983dc61 Compare September 16, 2024 16:12
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/mv/i-2 is no longer failing!
Congrats! The gnu test tests/timeout/timeout is no longer failing!

@sylvestre sylvestre merged commit b8150f5 into uutils:main Sep 18, 2024
68 checks passed
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