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

9p: change the default securityModel from mapped-xattr to none #1110

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

AkihiroSuda
Copy link
Member

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

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)
Copy link
Member Author

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)

Copy link
Member

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.

Copy link
Member Author

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.

@AkihiroSuda
Copy link
Member Author

cc @jandubois @abiosoft

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]>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, sounds good!

@jandubois jandubois merged commit d3c2533 into lima-vm:master Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants