aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar admorgan <admorgan@morgancomputers.net>2018-03-28 14:38:26 -0500
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2018-03-28 20:38:26 +0100
commit14a20f9f1de07e9be76e7603b550d7acc47ad719 (patch)
treef02e1c7c54291ad8e60ba27b0b9792faf0c7bd83
parent72ab7172b8de822215cea644b148df5eacb8aa0a (diff)
Add example configuration file (#216)
Add a configuration file with all options disabled that includes all valid options and their description.
-rw-r--r--util/fuse.conf17
-rwxr-xr-xutil/install_helper.sh3
2 files changed, 20 insertions, 0 deletions
diff --git a/util/fuse.conf b/util/fuse.conf
new file mode 100644
index 0000000..3c9b6ac
--- /dev/null
+++ b/util/fuse.conf
@@ -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
diff --git a/util/install_helper.sh b/util/install_helper.sh
index 63b79ee..48a8927 100755
--- a/util/install_helper.sh
+++ b/util/install_helper.sh
@@ -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