diff options
author | Prashanth Pai <ppai@redhat.com> | 2016-06-16 17:25:55 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2016-06-16 17:25:55 +0530 |
commit | 072425454c76c9d37b436a91d3d64a953adff92c (patch) | |
tree | fc2a88969c087aca93917be541334f9a2a2f05c7 /doc | |
parent | 601884e6e861813e14f9064e2f135eb857d59b17 (diff) |
Document mounting as non-root user
Change-Id: I58baf2b6b24bf07707be133508b5d1213744562e
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.rst | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/doc/install.rst b/doc/install.rst index cbe7c7d..d256376 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -1,5 +1,5 @@ Installation ------------- +============ Install glusterfs: @@ -14,3 +14,33 @@ Install libgfapi-python from source: $ git clone https://review.gluster.org/libgfapi-python $ cd libgfapi-python $ sudo python setup.py install + +Mount GlusterFS volume as non-root user +--------------------------------------- + +One can follow the following steps to allow a non-root user to virtual mount +a GlusterFS volume over libgfapi. This requires a configuration change which +enables GlusterFS server to accept client connections from non-priveledged +ports. + +.. code-block:: console + + # gluster volume set <volname> server.allow-insecure on + # gluster volume stop <volname> + # gluster volume start <volname> + +Edit `/etc/glusterfs/glusterd.vol` or `/usr/local/etc/glusterfs/glusterd.vol` +and set: + +.. code-block:: aconf + + option rpc-auth-allow-insecure on + +Restart glusterd service: + +.. code-block:: console + + # service glusterd restart + +Further, use `chown` and/or `chmod` commands to change permissions on mount +point or required directories to allow non-root access to appropriate users. |