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

client: disallow changing fuse_default_permissions option at runtime #32315

Merged
merged 1 commit into from Jan 15, 2020

Conversation

david-z
Copy link
Member

@david-z david-z commented Dec 18, 2019

If fuse_default_permissions is false when initializing fuse, then ceph-fuse
will use its own permission check. If changing this option to true at
runtime, there will be no permission check at both fuse side and
ceph-fuse side.

Fixes: https://tracker.ceph.com/issues/43362

Signed-off-by: Zhi Zhang zhangz.david@outlook.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@david-z david-z requested a review from batrick December 18, 2019 04:48
@david-z david-z added the cephfs Ceph File System label Dec 18, 2019
@david-z
Copy link
Member Author

david-z commented Dec 18, 2019

retest this please

@david-z david-z force-pushed the wip-fix-fuse_default_permissions branch 2 times, most recently from d3a64dd to 77fa7bc Compare December 18, 2019 06:35
@david-z
Copy link
Member Author

david-z commented Dec 19, 2019

jenkins test make check

@david-z
Copy link
Member Author

david-z commented Dec 24, 2019

@batrick pls review this PR some time, thanks.

Copy link
Member

@batrick batrick left a comment

Choose a reason for hiding this comment

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

Suggest also adding FLAG_STARTUP to the config in src/common/options.cc.

@david-z david-z force-pushed the wip-fix-fuse_default_permissions branch from 77fa7bc to ab072c0 Compare January 7, 2020 09:33
@david-z
Copy link
Member Author

david-z commented Jan 8, 2020

jenkins test make check

src/common/options.cc Outdated Show resolved Hide resolved
If fuse_default_permissions is false when initializing fuse, then
ceph-fuse will use its own permission check. If changig this option
to true at runtime, there will be no permission check at both fuse
side and ceph-fuse side.

Fixes: https://tracker.ceph.com/issues/43362

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
@david-z david-z force-pushed the wip-fix-fuse_default_permissions branch from ab072c0 to dea4ffe Compare January 10, 2020 02:49
batrick added a commit to batrick/ceph that referenced this pull request Jan 15, 2020
* refs/pull/32315/head:
	client: disallow changing fuse_default_permissions option at runtime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
batrick added a commit that referenced this pull request Jan 15, 2020
* refs/pull/32315/head:
	client: disallow changing fuse_default_permissions option at runtime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
@batrick batrick merged commit dea4ffe into ceph:master Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants