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

quincy: client/fuse: Fix directory DACs overriding for root #46595

Merged
merged 1 commit into from Jul 15, 2022

Conversation

kotreshhr
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/55926


backport of #46078
parent tracker: https://tracker.ceph.com/issues/55313

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

DACs are overridable for directories. For files,
Read/write DACs are always overridable but executable
DACs are overridable when there is at least one exec bit
set.

The files and directory DACS overriding were handled the
same way for root which is incorrect. This patch fixes
DACs overriding as described above for the root.

Fixes: https://tracker.ceph.com/issues/55313
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 2e1f43c)
@kotreshhr kotreshhr added this to the quincy milestone Jun 9, 2022
@kotreshhr kotreshhr added the cephfs Ceph File System label Jun 9, 2022
@github-actions github-actions bot added the tests label Jun 9, 2022
@kotreshhr kotreshhr requested a review from a team June 9, 2022 11:09
@yuriw yuriw merged commit 6db86c2 into ceph:quincy Jul 15, 2022
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants