Add example configuration file (#216)
authoradmorgan <admorgan@morgancomputers.net>
Wed, 28 Mar 2018 19:38:26 +0000 (14:38 -0500)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 28 Mar 2018 19:38:26 +0000 (20:38 +0100)
Add a configuration file with all options disabled that includes
all valid options and their description.

util/fuse.conf [new file with mode: 0644]
util/install_helper.sh

diff --git a/util/fuse.conf b/util/fuse.conf
new file mode 100644 (file)
index 0000000..3c9b6ac
--- /dev/null
@@ -0,0 +1,17 @@
+# The file /etc/fuse.conf allows for the following parameters:
+#
+# user_allow_other - Using the allow_other mount option works fine as root, in
+# order to have it work as user you need user_allow_other in /etc/fuse.conf as
+# well. (This option allows users to use the allow_other option.) You need
+# allow_other if you want users other than the owner to access a mounted fuse.
+# This option must appear on a line by itself. There is no value, just the
+# presence of the option.
+
+#user_allow_other
+
+
+# mount_max = n - this option sets the maximum number of mounts.
+# Currently (2014) it must be typed exactly as shown
+# (with a single space before and after the equals sign).
+
+#mount_max = 1000
index 63b79eef15785c587a32adc8954080c25d7b755b..48a8927f39a0a9934bdc347a49c52f441ec13a7a 100755 (executable)
@@ -25,6 +25,9 @@ install -D -m 644 "${MESON_SOURCE_ROOT}/util/udev.rules" \
 install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
         "${DESTDIR}/etc/init.d/fuse3"
 
+install -D -m 644 "${MESON_SOURCE_ROOT}/util/fuse.conf" \
+       "${DESTDIR}/etc/fuse.conf"
+
 if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
     /usr/sbin/update-rc.d fuse3 start 34 S . start 41 0 6 . || /bin/true
 else