I think I understand, after more thought. The second command is expected to work after the first. I will ask the cephfs team when they wake up. Zac Dover Upstream Docs Ceph Foundation On Fri, Apr 19, 2024 at 17:51, duluxoz <[duluxoz@gmail.com](mailto:On Fri, Apr 19, 2024 at 17:51, duluxoz <<a href=)> wrote:
Hi All,
In reference to this page from the Ceph documentation: https://docs.ceph.com/en/latest/cephfs/client-auth/, down the bottom of that page it says that you can run the following commands:
~~~ ceph fs authorize a client.x /dir1 rw ceph fs authorize a client.x /dir2 rw ~~~
This will allow `client.x` to access both `dir1` and `dir2`.
So, having a use case where we need to do this, we are, HOWEVER, getting the following error on running the 2nd command on a Reef 18.2.2 cluster:
`Error EINVAL: client.x already has fs capabilities that differ from those supplied. To generate a new auth key for client.x, first remove client.x from configuration files, execute 'ceph auth rm client.x', then execute this command again.`
Something we're doing wrong, or is the doco "out of date" (mind you, that's from the "latest" version of the doco, and the "reef" version), or is something else going on?
Thanks in advance for the help
Cheers
Dulux-Oz
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io