]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: disallow changing fuse_default_permissions option at runtime 32915/head
authorZhi Zhang <willzzhang@tencent.com>
Fri, 10 Jan 2020 02:48:03 +0000 (10:48 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 27 Jan 2020 16:47:20 +0000 (17:47 +0100)
commit0213b7e7a142c6b3d4ee8db3d551bcdd41b94bb8
tree5c0c952814acc073246bd9f1f7987dd9d4a6fcda
parent2ab5460062b6732d368caed445f975e4b7ef2331
client: disallow changing fuse_default_permissions option at runtime

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>
(cherry picked from commit dea4ffefd2646199b383fcb18c944e6c217d3f11)
src/client/Client.cc
src/client/Client.h
src/client/fuse_ll.cc
src/common/options.cc