shithub: mntgen

Download patch

ref: 5b90aec4da8e5e03478d067b7a10f183a03eae48
parent: 3172a69ddf708b692f5b0faff5b67de92b2a2633
author: Alex Musolino <alex@musolino.id.au>
date: Fri Dec 30 09:22:47 EST 2022

add "allow_other" mount option

--- a/mntgen.go
+++ b/mntgen.go
@@ -105,7 +105,7 @@
 	if flag.NArg() == 1 {
 		mtpt = flag.Arg(0)
 	}
-	c, err := fuse.Mount(mtpt, fuse.FSName("mntgen"), fuse.Subtype("mntgen"))
+	c, err := fuse.Mount(mtpt, fuse.FSName("mntgen"), fuse.Subtype("mntgen"), fuse.AllowOther())
 	if err != nil {
 		log.Fatal(err)
 	}