Fixed a permissions bug.

geesefs-0-30-9
Aaron Jacobs 2015-03-02 16:05:14 +11:00
parent b7eebb8070
commit 902c5800e1
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func NewMemFS(
}
// Set up the root inode.
fs.inodes[fuse.RootInodeID] = newInode(os.ModeDir)
fs.inodes[fuse.RootInodeID] = newInode(0777 | os.ModeDir)
// Set up invariant checking.
fs.mu = syncutil.NewInvariantMutex(fs.checkInvariants)