tmpfs: fix root directory uid and gid
MODIFY
sys/kern/tmpfs.c
sys/kern/tmpfs.c
@@ -966,6 +966,8 @@ static int tmpfs_mount(mount_t *mp) {
vattr_t va;
vattr_null(&va);
va.va_mode = S_IFDIR | (ACCESSPERMS & ~CMASK);
+ va.va_uid = 0;
+ va.va_gid = 0;
tmpfs_node_t *root = tmpfs_new_node(tfm, &va, V_DIR);
tmpfs_attach_vnode(root, mp);
root->tfn_dir.parent = root; /* Parent of the root node is itself. */

tmpfs: fix root directory uid and gid (#881)