Added attributes for hello.
parent
72e4ed930d
commit
59855978e2
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue