-
Notifications
You must be signed in to change notification settings - Fork 472
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
feat(bin/ofs): privileged mount #4507
Conversation
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.
Others LGTM, thanks a lot!
bin/ofs/src/bin/ofs.rs
Outdated
@@ -18,7 +18,8 @@ | |||
use anyhow::Result; | |||
use clap::Parser; | |||
|
|||
#[tokio::main] | |||
// FIXME: https://github.com/Sherlock-Holo/fuse3/issues/91 |
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.
Please don't link to external issues directly. Create an issue in opendal and add this link as references.
let mut mount_handle = if uid.is_root() { | ||
session.mount(adapter, args.mount_path).await? | ||
} else { | ||
log::warn!("unprivileged mount may not detect external unmount, tracking issue: https://github.com/Sherlock-Holo/fuse3/issues/72"); |
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.
I think we have resolved it in #4393 ?
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.
No we not
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.
Thanks!
No description provided.