Added a public note about default_permissions.

geesefs-0-30-9
Aaron Jacobs 2015-03-16 13:44:18 +11:00
parent bc46008754
commit 27c8c0df9c
1 changed files with 5 additions and 2 deletions

View File

@ -60,8 +60,11 @@ type memFS struct {
freeInodes []fuse.InodeID // GUARDED_BY(mu) freeInodes []fuse.InodeID // GUARDED_BY(mu)
} }
// Create a file system that stores data and metadata in memory. The supplied // Create a file system that stores data and metadata in memory.
// UID/GID pair will own the root inode. //
// 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( func NewMemFS(
uid uint32, uid uint32,
gid uint32, gid uint32,