Bug 2317530

Summary: Different behavior in permissions handling for paths with trailing slashes between 7.1 and 8.0.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Kotresh HR <khiremat>
Component: CephFSAssignee: Kotresh HR <khiremat>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact: Disha Walvekar <dwalveka>
Priority: unspecified    
Version: 6.1CC: amk, ceph-eng-bugs, cephqe-warriors, dwalveka, gfarnum, hyelloji, khiremat, rpollack, tserlin, vshankar
Target Milestone: ---Flags: khiremat: needinfo-
khiremat: needinfo-
khiremat: needinfo-
Target Release: 6.1z9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-267.el9cp Doc Type: Bug Fix
Doc Text:
.user can now access files as per the permission on a given path whether the path used to authorize has trailing / or not Previously, due to a bug in the mds auth caps matching code while matching the path with a trailing /, the users could not create files under the path even though the user was authorized with RW permission on the path. This happened only when the path used to authorize has a trailing `/`. For example, ceph fs authorize cephfs client.user / r /volumes/ rw Here the user `client.user` could not create files under `/volumes` even with `rw` permission. With this fix, the bug in the mds auth caps matching code is fixed for target path with trailing / and the user can now access files as per the permission on a given path whether the path used to authorize has trailing / or not.
Story Points: ---
Clone Of: 2316919 Environment:
Last Closed: 2025-04-28 05:30:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2316919    
Bug Blocks:    

Description Kotresh HR 2024-10-09 09:34:41 UTC
+++ This bug was initially created as a clone of Bug #2316919 +++

Comment 25 errata-xmlrpc 2025-04-28 05:30:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 6.1 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2025:4238