system/kernel: Fix virtual / permissions
* Solves some insecure permission errors with sshd subprocesses. * More secure I guess not letting "anyone" write to / Change-Id: I1bb31ff0142585639369f7b3d15cf9a2d5755598 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5962 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
parent
90e87426ac
commit
151482229c
@ -401,7 +401,7 @@ rootfs_mount(fs_volume* volume, const char* device, uint32 flags,
|
||||
}
|
||||
|
||||
// create the root vnode
|
||||
vnode = rootfs_create_vnode(fs, NULL, ".", S_IFDIR | 0777);
|
||||
vnode = rootfs_create_vnode(fs, NULL, ".", S_IFDIR | 0755);
|
||||
if (vnode == NULL) {
|
||||
err = B_NO_MEMORY;
|
||||
goto err3;
|
||||
|
Loading…
Reference in New Issue
Block a user