v2api: set NullPermissions = true
Don't let go-fuse mess úp 0000 permissions.
This commit is contained in:
parent
ca5acae6f0
commit
9e69334400
1
mount.go
1
mount.go
@ -358,6 +358,7 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server {
|
|||||||
EntryTimeout: &sec,
|
EntryTimeout: &sec,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fuseOpts.NullPermissions = true
|
||||||
fuseOpts.MountOptions = fuse.MountOptions{
|
fuseOpts.MountOptions = fuse.MountOptions{
|
||||||
// Writes and reads are usually capped at 128kiB on Linux through
|
// Writes and reads are usually capped at 128kiB on Linux through
|
||||||
// the FUSE_MAX_PAGES_PER_REQ kernel constant in fuse_i.h. Our
|
// the FUSE_MAX_PAGES_PER_REQ kernel constant in fuse_i.h. Our
|
||||||
|
Loading…
x
Reference in New Issue
Block a user