From: Jon Dowland Date: Wed, 28 Apr 2010 13:41:44 +0000 (+0100) Subject: add -o/--allow-other argument for bup-fuse X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0971bc434c99cff139f86219ca654b52826b01c4;p=packages%2Fb%2Fbup.git 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. --- 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()