Setting the fuse option allow_other will fail if user_allow_other
is not set in fuse.conf. Add toggle -o/--allow-other to bup-fuse
(disabled by default).
Signed-off-by: Jon Dowland <jmtd@debian.org>
# SYNOPSIS
-bup fuse [-d] [-f] <mountpoint>
+bup fuse [-d] [-f] [-o] <mountpoint>
# DESCRIPTION
: run in the foreground and exit only when the filesystem
is unmounted.
+-o, --allow-other
+: permit other users to access the filesystem. Necessary for
+ exporting the filesystem via Samba, for example.
# EXAMPLE
--
d,debug increase debug level
f,foreground run in foreground
+o,allow-other allow other users to access the filesystem
"""
o = options.Options('bup fuse', optspec)
(opt, flags, extra) = o.parse(sys.argv[1:])
f.fuse_args.setmod('foreground')
print f.multithreaded
f.multithreaded = False
-f.fuse_args.add('allow_other')
+if opt.allow_other:
+ f.fuse_args.add('allow_other')
f.main()