From 27c8c0df9c02fa66b36c714e2d2853077bad7804 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 16 Mar 2015 13:44:18 +1100 Subject: [PATCH] Added a public note about default_permissions. --- samples/memfs/fs.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/samples/memfs/fs.go b/samples/memfs/fs.go index a37784f..b260cb4 100644 --- a/samples/memfs/fs.go +++ b/samples/memfs/fs.go @@ -60,8 +60,11 @@ type memFS struct { freeInodes []fuse.InodeID // GUARDED_BY(mu) } -// Create a file system that stores data and metadata in memory. The supplied -// UID/GID pair will own the root inode. +// Create a file system that stores data and metadata in memory. +// +// The supplied UID/GID pair will own the root inode. This file system does no +// permissions checking, and should therefore be mounted with the +// default_permissions option. func NewMemFS( uid uint32, gid uint32,