From 14a20f9f1de07e9be76e7603b550d7acc47ad719 Mon Sep 17 00:00:00 2001 From: admorgan Date: Wed, 28 Mar 2018 14:38:26 -0500 Subject: Add example configuration file (#216) Add a configuration file with all options disabled that includes all valid options and their description. --- util/fuse.conf | 17 +++++++++++++++++ util/install_helper.sh | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 util/fuse.conf 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 -- cgit v1.2.3