v2api: set NullPermissions = true

Don't let go-fuse mess úp 0000 permissions.
This commit is contained in:
Jakob Unterwurzacher 2020-07-12 20:39:19 +02:00
parent ca5acae6f0
commit 9e69334400
1 changed files with 1 additions and 0 deletions

View File

@ -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