Project

General

Profile

Actions

Bug #67212

open

client/fuse: Caps Only Honor First Permission, Ignoring Subsequent Permissions

Added by Kotresh Hiremath Ravishankar over 1 year ago. Updated 5 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Support
Backport:
squid,reef,quincy
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-3870-ge23ec03c38
Released In:
v20.2.0~2337
Upkeep Timestamp:
2025-11-01T01:02:57+00:00

Description

If the client as the following permission:

[client.hrk]
key = AQDktaNm2uhxNRAAIPE/IT8Xrodnw9+uD/IpsA==
caps mds = "allow r fsname=a, allow rw fsname=a path=/dir2"
caps mon = "allow r fsname=a"
caps osd = "allow rw tag cephfs data=a"

Fuse mount the fs at /mnt

The client fails to touch a file inside /dir2 even though it as rw permission
#touch /mnt/dir2/file1

fails with permission denied

Please look at for more information https://bugzilla.redhat.com/show_bug.cgi?id=2299930


Related issues 3 (1 open2 closed)

Copied to CephFS - Backport #67293: squid: client/fuse: Caps Only Honor First Permission, Ignoring Subsequent PermissionsQA TestingKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #67294: reef: client/fuse: Caps Only Honor First Permission, Ignoring Subsequent PermissionsResolvedKotresh Hiremath RavishankarActions
Copied to CephFS - Backport #67295: quincy: client/fuse: Caps Only Honor First Permission, Ignoring Subsequent PermissionsRejectedKotresh Hiremath RavishankarActions
Actions #1

Updated by Patrick Donnelly over 1 year ago

  • Category set to Correctness/Safety
  • Status changed from New to In Progress
  • Assignee set to Kotresh Hiremath Ravishankar
  • Target version set to v20.0.0
  • Source set to Support
  • Backport set to squid,reef,quincy
Actions #2

Updated by Greg Farnum over 1 year ago

  • Pull request ID set to 58878
Actions #3

Updated by Venky Shankar over 1 year ago

  • Status changed from In Progress to Pending Backport
Actions #4

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #67293: squid: client/fuse: Caps Only Honor First Permission, Ignoring Subsequent Permissions added
Actions #5

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #67294: reef: client/fuse: Caps Only Honor First Permission, Ignoring Subsequent Permissions added
Actions #6

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #67295: quincy: client/fuse: Caps Only Honor First Permission, Ignoring Subsequent Permissions added
Actions #7

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #8

Updated by Upkeep Bot 9 months ago

  • Merge Commit set to e23ec03c38e10ee942a7219991196498cecc9c2c
  • Fixed In set to v19.3.0-3870-ge23ec03c38e
  • Upkeep Timestamp set to 2025-07-08T18:46:03+00:00
Actions #9

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-3870-ge23ec03c38e to v19.3.0-3870-ge23ec03c38e1
  • Upkeep Timestamp changed from 2025-07-08T18:46:03+00:00 to 2025-07-14T15:46:18+00:00
Actions #10

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-3870-ge23ec03c38e1 to v19.3.0-3870-ge23ec03c38
  • Upkeep Timestamp changed from 2025-07-14T15:46:18+00:00 to 2025-07-14T21:10:28+00:00
Actions #11

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~2337
  • Upkeep Timestamp changed from 2025-07-14T21:10:28+00:00 to 2025-11-01T01:02:57+00:00
Actions

Also available in: Atom PDF