mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48: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;
|
||||
|
||||
node->vnode.flags |= V_FLAGS_ROOT;
|
||||
node->attr.mode = 0755;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user