aboutsummaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-07-12 20:39:19 +0200
committerJakob Unterwurzacher2020-07-12 20:39:19 +0200
commit9e69334400f3de5b17792afb63098f94d12fe389 (patch)
treed411541436f274b955cbd835cdb52f4f2627664d /mount.go
parentca5acae6f093f3e34d2a463d14f9ccc4e6d5096d (diff)
v2api: set NullPermissions = true
Don't let go-fuse mess úp 0000 permissions.
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/mount.go b/mount.go
index 4b4192e..c2073c3 100644
--- a/mount.go
+++ b/mount.go
@@ -358,6 +358,7 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server {
EntryTimeout: &sec,
}
}
+ fuseOpts.NullPermissions = true
fuseOpts.MountOptions = fuse.MountOptions{
// Writes and reads are usually capped at 128kiB on Linux through
// the FUSE_MAX_PAGES_PER_REQ kernel constant in fuse_i.h. Our