summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/install.rst32
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.