commit: 2a5988d2762686d6ae0bce9864eb9e09524bfe7c
parent 31a738024f7c0945d54f1dd221260cda82a41d43
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 24 Sep 2022 07:05:56 +0200
make-initrd.sh: Fix devices permissions, comment-out /dev/mem
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/make-initrd.sh b/make-initrd.sh
@@ -29,14 +29,14 @@ else
echo "[Warning] '/lib/modules' doesn’t exist"
fi
-mknod -m 600 dev/console c 5 1
+mknod -m 660 dev/console c 5 1
mknod -m 666 dev/urandom c 1 9
mknod -m 666 dev/random c 1 8
-mknod -m 640 dev/mem c 1 1
+#mknod -m 640 dev/mem c 1 1
mknod -m 666 dev/null c 1 3
mknod -m 666 dev/tty c 5 0
mknod -m 666 dev/zero c 1 5
-mknod -m 640 dev/tty1 c 4 1
+mknod -m 620 dev/tty1 c 4 1
for elf in $elves; do
origin=$(command -v "$elf")