]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: Fix executeable access check for the root user 40882/head
authorKotresh HR <khiremat@redhat.com>
Fri, 16 Apr 2021 04:14:05 +0000 (09:44 +0530)
committerKotresh HR <khiremat@redhat.com>
Fri, 16 Apr 2021 04:21:04 +0000 (09:51 +0530)
commitb20ec2978cd3e16be9f45f1b7860bdae3c738147
treea3ab57ca3901a96c4f1db9cf501e53d6706efee7
parente25d70de21e3dad631c642a0544180d0af357453
client: Fix executeable access check for the root user

Executeable permission check always returned sucessful
even when executeable bit is not set on any of the user,
group or others. This patch fixes it by overiding
executeable permission check for root only if one of
the executeable bit is set

Signed-off-by: Kotresh HR <khiremat@redhat.com>
Fixes: https://tracker.ceph.com/issues/50060
src/client/Client.cc