Bug #64182
Updated by Rishabh Dave 4 months ago
The last two commands have no effect on the caps held by @client.x@ in its keyring - <pre> $ ceph fs volume create b $ ceph fs authorize a client.x / rw $ ceph fs authorize a client.x /dir1 rw $ ceph fs authorize a client.x /dir2 rw $ ceph auth get client.x $ ceph fs authorize b client.x / rw [client.x] key = AQAkWrJlNDdPGhAAGHfc3zW2PTJCIdzIJ3aekA== caps mds = "allow rw fsname=a, allow rw fsname=a path=dir1, allow rw fsname=a path=dir2, allow rw fsname=b" caps mon = "allow r fsname=a, allow r fsname=b" caps osd = "allow rw tag cephfs data=a, allow rw tag cephfs data=b" updated caps for client.x $ ceph fs authorize b client.x /dir1 rw no update for caps of client.x $ ceph fs authorize b client.x /dir2 rw no update for caps of client.x $ ceph auth get client.x [client.x] key = AQAkWrJlNDdPGhAAGHfc3zW2PTJCIdzIJ3aekA== caps mds = "allow rw fsname=a, allow rw fsname=a path=dir1, allow rw fsname=a path=dir2, allow rw fsname=b" caps mon = "allow r fsname=a, allow r fsname=b" caps osd = "allow rw tag cephfs data=a, allow rw tag cephfs data=b" </pre>