-
Notifications
You must be signed in to change notification settings - Fork 604
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
9p: change the default securityModel
from mapped-xattr
to none
#1110
Conversation
docs/mount.md
Outdated
@@ -59,7 +59,8 @@ mounts: | |||
- location: "~" | |||
9p: | |||
# Supported security models are "passthrough", "mapped-xattr", "mapped-file" and "none". | |||
# 🟢 Builtin default: "mapped-xattr" | |||
# "mapped-xattr" and "mapped-file" are useful for persistent chown but incompatible with symlinks. | |||
# 🟢 Builtin default: "none" (since Lima v0.12.1) |
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.
(Maybe this should be rather in v0.13.0)
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.
Yes, I feel that changing defaults merits at least a minor version bump.
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.
Changed to v0.13.0.
v0.12.1 will be cancelled.
03120bd
to
7137da9
Compare
The `mapped-xattr` model is known to be incompatible with symlinks: https://gitlab.com/qemu-project/qemu/-/issues/173 The `none` model is obviously incompatible with chown, but this is fine, as the reverse-sshfs does not support chown either. See issue 971 Signed-off-by: Akihiro Suda <[email protected]>
7137da9
to
9884bd8
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.
Thanks, sounds good!
The
mapped-xattr
model is known to be incompatible with symlinks: https://gitlab.com/qemu-project/qemu/-/issues/173The
none
model is obviously incompatible with chown, but this is fine, as the reverse-sshfs does not support chown either.See issue #971