]> git.michaelhowe.org Git - packages/b/bup.git/commitdiff
add -o/--allow-other argument for bup-fuse
authorJon Dowland <jmtd@debian.org>
Wed, 28 Apr 2010 13:41:44 +0000 (14:41 +0100)
committerJon Dowland <jmtd@debian.org>
Wed, 28 Apr 2010 13:41:44 +0000 (14:41 +0100)
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
cmd/fuse-cmd.py

index 70823a72acadcf32d99a6c3f66e4b868dc007b17..35da796c07f108d2ccee8c8978b65e8b1d1d6066 100644 (file)
@@ -8,7 +8,7 @@ bup-fuse - mount a bup repository as a filesystem
 
 # SYNOPSIS
 
-bup fuse [-d] [-f] <mountpoint>
+bup fuse [-d] [-f] [-o] <mountpoint>
 
 # 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
 
index c03dd262a49ec48a2419156cbac63874254b551c..64880975d861eb71be80ce34e15a6ea8b853a718 100755 (executable)
@@ -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()