From 71633e264fc5ccbe38bbddeb7b7689ede42255cb Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 3 Nov 2022 17:13:32 +0100 Subject: [PATCH] Kernel: Make the serial port writable for everyone :) --- kernel/src/fs/devices/Serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/fs/devices/Serial.cpp b/kernel/src/fs/devices/Serial.cpp index d1e2785a..b8675fff 100644 --- a/kernel/src/fs/devices/Serial.cpp +++ b/kernel/src/fs/devices/Serial.cpp @@ -16,7 +16,7 @@ VFS::Node* SerialDevice::create_new(const char* devname) dev->type = VFS_DEVICE; dev->flags = 0; dev->uid = dev->gid = 0; - dev->mode = 0200; + dev->mode = 0222; dev->atime = dev->ctime = dev->mtime = clock_boot(); strncpy(dev->name, devname, sizeof(dev->name)); return dev;