]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: During fscrypt write, ensure we get Fr cap
authorChristopher Hoffman <choffman@redhat.com>
Mon, 3 Feb 2025 19:13:31 +0000 (19:13 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 14 Aug 2025 20:09:47 +0000 (20:09 +0000)
commiteed7b22eebcc21b974b7f092cd4a3ce06eb3c972
tree802f18c29a83775316143ecb0c92ba1d9ca66e7a
parent18e41525cc2b32ad325fffd820c97cdd0f901f38
client: During fscrypt write, ensure we get Fr cap

During fscrypt write will require Fr cap. It's best to ensure
this requirement is handled at the cap level instead of at the mode
level. Otherwise, O_WRONLY flag won't be enforced.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc
src/client/Inode.cc