mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
tmpfs: set default root mode to 0755
This commit is contained in:
@@ -215,6 +215,7 @@ static int tmpfs_root(vfs_t *vfs, vnode_t **vnode) {
|
|||||||
vfs->root = *vnode;
|
vfs->root = *vnode;
|
||||||
|
|
||||||
node->vnode.flags |= V_FLAGS_ROOT;
|
node->vnode.flags |= V_FLAGS_ROOT;
|
||||||
|
node->attr.mode = 0755;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user