From 0971bc434c99cff139f86219ca654b52826b01c4 Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Wed, 28 Apr 2010 14:41:44 +0100 Subject: [PATCH] add -o/--allow-other argument for bup-fuse Do not attempt to set the fuse option "allow_other" by default, which will fail on some systems if "user_allow_other" is not set in fuse.conf. Instead, add an argument '-o/--allow-other' to optionally turn this feature on. --- Documentation/bup-fuse.1.md | 5 ++++- cmd/fuse-cmd.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/bup-fuse.1.md b/Documentation/bup-fuse.1.md index 70823a7..35da796 100644 --- a/Documentation/bup-fuse.1.md +++ b/Documentation/bup-fuse.1.md @@ -8,7 +8,7 @@ bup-fuse - mount a bup repository as a filesystem # SYNOPSIS -bup fuse [-d] [-f] +bup fuse [-d] [-f] [-o] # DESCRIPTION @@ -33,6 +33,9 @@ by all users. : 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 diff --git a/cmd/fuse-cmd.py b/cmd/fuse-cmd.py index c03dd26..6488097 100755 --- a/cmd/fuse-cmd.py +++ b/cmd/fuse-cmd.py @@ -125,5 +125,6 @@ if opt.foreground: f.fuse_args.setmod('foreground') print f.multithreaded f.multithreaded = False +f.fuse_args.add('allow_other') f.main() -- 2.39.5