@cryptotaxi247 / kubo / commits / f6e1bb187

added sudo to usermod; added --json to "ipfs config" command; added modification to fuse.conf;

added sudo to usermod; added --json to "ipfs config" command; added modification to fuse.conf; License: MIT Signed-off-by: Giuseppe Bertone <bertone.giuseppe@gmail.com>

Giuseppe Bertone committed Mar 3, 2016 at 20:25 UTC f6e1bb187c1290bf7cd4e79416c67c158f6733d3
1 file changed +16 -3
docs/fuse.md
+16 -3
@@ -51,7 +51,7 @@ sudo chown <username>:<groupname> /dev/fuse
51 Note: `<groupname>` will usually be `fuse`. Typically, you add the authorized users to the `fuse` group:
52
53 ```sh
54 -usermod -a -G fuse <username>
54 +sudo usermod -a -G fuse <username>
55 ```
56
57 ## Mounting IPFS
@@ -62,10 +62,23 @@ Once FUSE and the mountpoints have been created, issue the following command:
62 ipfs daemon --mount
63 ```
64
65 -If you wish to allow other users to use the mount points, use the following:
65 +If you wish to allow other users to use the mount points, edit /etc/fuse.conf to enable non-root users, i.e.:
66
67 ```sh
68 -ipfs config Mounts.FuseAllowOther true
68 +# /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)
69 +
70 +# Set the maximum number of FUSE mounts allowed to non-root users.
71 +# The default is 1000.
72 +#mount_max = 1000
73 +
74 +# Allow non-root users to specify the allow_other or allow_root mount options.
75 +user_allow_other
76 +```
77 +
78 +and use the following:
79 +
80 +```sh
81 +ipfs config --json Mounts.FuseAllowOther true
82 ipfs daemon --mount
83 ```
84