Commit 59855978 authored by Aaron Jacobs's avatar Aaron Jacobs

Added attributes for hello.

parent 72e4ed93
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment