-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix mountpoint issues on macOS #9351
Conversation
85ad273
to
0133947
Compare
0133947
to
9c4c746
Compare
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.
Can you add a test, that would rely on a subprocess running your snippet of osascript
(typically put in libparsec/crates/platform_mountpoint/tests/unit/operations/unix_setattr.rs
)
And we also need some linux tests given the code change impact them too (and besides there is no tests for setattr right now !)
For instances:
- macos only test with osascript the copy of a file
- (linux, macos) test setattr used for truncate to an arbitrary size (same size as current one, bigger size, smaller size, zero size)
- (linux, macos) test setattr used to change the others fields allowed by it but not supported (atime, etc.)
- (linux, macos) test setattr on a non-existing file
- (linux, macos) test setattr to change size on a folder
Obviously we can create an issue to implement part of them in a separated PR
@FirelightFlagboy this PR fixes multiple issues (#8976, #8991, #9173) but it is not clearly specified which changes fix which issues. Please summarize it in the PR description. |
Those are specified in the body of the first 2 commits |
8c9c40c
to
4f057ec
Compare
I've created the issue #9353 |
4f057ec
to
1b0a71a
Compare
Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]>
Related to #8990
1b0a71a
to
331a92d
Compare
I'd still add some tests in this PR because it fixes major bugs. IMO we should add at least test regarding |
* [rust] update `fuser` to `0.15.1` Fix #9173 * Make `setattr` always return file attr even if no attr where changed Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]> * [rust] Update `ruzstd` to `0.7.3` * Ignore `RUSTSEC-2024-0398` Related to #8990 --------- Co-authored-by: Emmanuel Leblond <[email protected]>
* [rust] update `fuser` to `0.15.1` Fix #9173 * Make `setattr` always return file attr even if no attr where changed Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]> * [rust] Update `ruzstd` to `0.7.3` * Ignore `RUSTSEC-2024-0398` Related to #8990 --------- Co-authored-by: Emmanuel Leblond <[email protected]>
* [rust] update `fuser` to `0.15.1` Fix #9173 * Make `setattr` always return file attr even if no attr where changed Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]> * [rust] Update `ruzstd` to `0.7.3` * Ignore `RUSTSEC-2024-0398` Related to #8990 --------- Co-authored-by: Emmanuel Leblond <[email protected]>
* [rust] update `fuser` to `0.15.1` Fix #9173 * Make `setattr` always return file attr even if no attr where changed Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]> * [rust] Update `ruzstd` to `0.7.3` * Ignore `RUSTSEC-2024-0398` Related to #8990 --------- Co-authored-by: Emmanuel Leblond <[email protected]>
* [rust] update `fuser` to `0.15.1` Fix #9173 * Make `setattr` always return file attr even if no attr where changed Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]> * [rust] Update `ruzstd` to `0.7.3` * Ignore `RUSTSEC-2024-0398` Related to #8990 --------- Co-authored-by: Emmanuel Leblond <[email protected]>
* [rust] update `fuser` to `0.15.1` Fix #9173 * Make `setattr` always return file attr even if no attr where changed Fix #8976, fix #8991 Co-authored-by: Emmanuel Leblond <[email protected]> * [rust] Update `ruzstd` to `0.7.3` * Ignore `RUSTSEC-2024-0398` Related to #8990 --------- Co-authored-by: Emmanuel Leblond <[email protected]>
No description provided.