-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rm: added write-protected check for files #3853
Conversation
Signed-off-by: Stefin <[email protected]>
Looks like it broke a test:
And please add a new test showing that the initial issue is fixed |
Sure, you can do that :) |
Signed-off-by: Stefin <[email protected]>
e15292c
to
ad4eac8
Compare
Signed-off-by: Stefin <[email protected]>
I'm not sure about this, but it sounds like this issue is separate from the existing |
@tertsdiepraam Ok I'll change the name to PromptProtected |
Fails on windows
|
To test on Windows: |
96ef64d
to
7644911
Compare
@sylvestre removed the failing test! |
@stefins why did you remove it ? |
It was failing on all the OS's! Edit: Also we have another test to test the function |
sure but it is an issue with the test or with the code ? |
Yeah It was failing on ubuntu also but only on these jobs
https://github.com/uutils/coreutils/actions/runs/2913039044 |
Seems like the |
7644911
to
4c1c9eb
Compare
Signed-off-by: Stefin <[email protected]>
@tertsdiepraam done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it worked! I think it looks good now but I'll leave the final check to Sylvestre
Almost ready, the error message isn't exactly the same in the CI with the GNU testsuite:
|
Signed-off-by: Stefin <[email protected]>
@sylvestre the test seems to be failing in the main branch also |
Not sure what you mean but it works here:
|
oh that, don't bother ;) |
well done ;) |
Hi,
This fixes #3813. also this doesn't check the permission of directories right now.