]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw``
author叶海丰 <769358362@qq.com>
Fri, 15 Dec 2023 09:05:38 +0000 (17:05 +0800)
committer叶海丰 <769358362@qq.com>
Fri, 15 Dec 2023 09:05:38 +0000 (17:05 +0800)
doc/cephfs/client-auth.rst

index 5a642e4f8ae9fccc0e4205977263e50505808939..946211bf682e7782f5e3a33ef9918a692f2caa9e 100644 (file)
@@ -316,8 +316,8 @@ Changing rw permissions in caps
 It's not possible to modify caps by running ``fs authorize`` except for the
 case when read/write permissions have to be changed. This so because the
 ``fs authorize`` becomes ambiguous. For example, user runs ``fs authorize
-cephfs1 /dir1 client.x rw`` to create a client and then runs ``fs authorize
-cephfs1 /dir2 client.x rw`` (notice ``/dir1`` is changed to ``/dir2``).
+cephfs1 client.x /dir1 rw`` to create a client and then runs ``fs authorize
+cephfs1 client.x /dir2 rw`` (notice ``/dir1`` is changed to ``/dir2``).
 Running second command can be interpreted as changing ``/dir1`` to ``/dir2``
 in current cap or can also be interpreted as authorizing the client with a
 new cap for path ``/dir2``. As seen in previous sections, second