Commit
Author: Kevin Schoon [me@kevinschoon.com]
Hash: 5bb48038c8442ee3d51751c70836951721b951b7
Timestamp: Sat, 04 Jun 2022 17:57:52 +0000 (2 years ago)

+1 -1 +/-1 browse
update permissions
1diff --git a/pkg/hierarchy/fuse.go b/pkg/hierarchy/fuse.go
2index e5cdd54..241eafa 100644
3--- a/pkg/hierarchy/fuse.go
4+++ b/pkg/hierarchy/fuse.go
5 @@ -32,7 +32,7 @@ func (me *noteFs) GetAttr(name string, context *fuse.Context) (*fuse.Attr, fuse.
6 Owner: *fuse.CurrentOwner(),
7 Ctime: uint64(note.CreatedAt.Unix()),
8 Mtime: uint64(note.ModifiedAt.Unix()),
9- Mode: fuse.S_IFREG,
10+ Mode: fuse.S_IFREG | 0644,
11 Size: uint64(len(note.Content)),
12 }, fuse.OK
13 }