Commit 902c5800 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a permissions bug.

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