diff --git a/samples/memfs/memfs_test.go b/samples/memfs/memfs_test.go index 6b68f7e..e332107 100644 --- a/samples/memfs/memfs_test.go +++ b/samples/memfs/memfs_test.go @@ -27,6 +27,7 @@ import ( "testing" "time" + bazilfuse "bazil.org/fuse" "github.com/jacobsa/fuse" "github.com/jacobsa/fuse/fusetesting" "github.com/jacobsa/fuse/samples/memfs" @@ -112,7 +113,13 @@ func (t *MemFSTest) SetUp(ti *TestInfo) { // Mount a file system. fs := memfs.NewMemFS(currentUid(), currentGid(), &t.clock) - if t.mfs, err = fuse.Mount(mountPoint, fs); err != nil { + + t.mfs, err = fuse.Mount( + mountPoint, + fs, + bazilfuse.DefaultPermissions()) + + if err != nil { panic("Mount: " + err.Error()) }