]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client/fuse: Fix directory DACs overriding for root 46078/head
authorKotresh HR <khiremat@redhat.com>
Thu, 28 Apr 2022 10:31:48 +0000 (16:01 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 17 May 2022 06:45:41 +0000 (12:15 +0530)
commit2e1f43c99b1818c2ffde64f5b01083c1907a9f87
tree468f137582cac85bead9cb3add7c3b5a239f42ff
parent9c1916f6f38d7661adcfaf606de99e1c73632e49
client/fuse: Fix directory DACs overriding for root

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>
qa/suites/fs/permission/tasks/cfuse_workunit_misc.yaml
qa/workunits/fs/misc/dac_override.sh [new file with mode: 0755]
src/client/Client.cc