From: Jashan Kamboj Date: Wed, 12 Aug 2015 15:39:24 +0000 (+0530) Subject: doc:fix path-based restriction X-Git-Tag: v10.0.0~123^2~24 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=10295e9f8b88569325452ed2f8fb6a7a43eec1a4;p=ceph.git doc:fix path-based restriction Signed-off-by: Jashan Kamboj --- diff --git a/doc/cephfs/path-based restriction.rst b/doc/cephfs/path-based restriction.rst index 69f52bcbd469..8522efc7ab0d 100644 --- a/doc/cephfs/path-based restriction.rst +++ b/doc/cephfs/path-based restriction.rst @@ -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