diff --git a/samples/hello_fs.go b/samples/hello_fs.go index d633bd5..6c6548c 100644 --- a/samples/hello_fs.go +++ b/samples/hello_fs.go @@ -48,7 +48,9 @@ var gInodeInfo = map[fuse.InodeID]inodeInfo{ // root rootInode: inodeInfo{ attributes: fuse.InodeAttributes{ - Mode: 0700 | os.ModeDir, + // TODO(jacobsa): Why do we get premission denied errors when this is + // 0500? + Mode: 0555 | os.ModeDir, }, dir: true, children: []fuseutil.Dirent{ @@ -66,6 +68,13 @@ var gInodeInfo = map[fuse.InodeID]inodeInfo{ }, }, }, + + // hello + helloInode: inodeInfo{ + attributes: fuse.InodeAttributes{ + Mode: 0400, + }, + }, } func (fs *HelloFS) GetInodeAttributes(