Bug 2232446
| Summary: | [cephfs][client] client allows to write with only read permission | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | julpark |
| Component: | CephFS | Assignee: | Rishabh Dave <ridave> |
| Status: | CLOSED NOTABUG | QA Contact: | Hemanth Kumar <hyelloji> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | ceph-eng-bugs, cephqe-warriors, gfarnum, ridave |
| Target Milestone: | --- | ||
| Target Release: | 7.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-10-18 03:34:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
julpark
2023-08-16 23:18:52 UTC
This is not a bug. Ceph caps can't be subtractive. "allow r path=/dir1" will have no effect when it is preceded by "allow *". Therefore, allowing writes on "/dir1" is correct behaviour when MDS cap is "allow *,allow r path=/dir1". How did these caps come into existence? Is the documentation misleading somehow? Unless there's a docs change we should make, I think we just close this as NOTABUG. |