]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc:fix path-based restriction
authorJashan Kamboj <jashank42@gmail.com>
Wed, 12 Aug 2015 15:39:24 +0000 (21:09 +0530)
committerSage Weil <sage@redhat.com>
Thu, 1 Oct 2015 13:41:32 +0000 (09:41 -0400)
Signed-off-by: Jashan Kamboj <jashank42@gmail.com>
doc/cephfs/path-based restriction.rst

index 69f52bcbd46996be0a583db0ea1320c35549be37..8522efc7ab0d72fc137822e57a51b28f9f36b770 100644 (file)
@@ -24,18 +24,8 @@ for example, to restrict client ``foo`` to ``bar`` directory, we will use. ::
 To restrict a client to the specfied sub-directory only, we mention the specified
 directory while mounting following the undermentioned syntax. ::
 
-./ceph-fuse -n client.*client_name* *mount_path* *directory_to_be_mounted*
-
-for example, to restrict client ``foo`` to ``mnt/bar`` directory, we will use. ::
-
-./ceph-fuse -n client.foo mnt /bar
-
-
-For read-only access to sub-directory we can use. ::
-
 ./ceph-fuse -n client.*client_name* *mount_path* -r *directory_to_be_mounted*
 
-for example, to restrict client ``foo`` to read-only access for ``mnt/bar``
-directory, we will use. ::
+for example, to restrict client ``foo`` to ``mnt/bar`` directory, we will use. ::
 
-./ceph-fuse -n client.foo mnt -r /foo
+./ceph-fuse -n client.foo mnt -r /bar