From b1a2b89e784603523f7d05c01682a7dbbcad69c4 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 25 Aug 2024 11:16:40 -0300 Subject: [PATCH] distro-files: change the modes of /tmp and /dev/shm to 1777 and of /dev to 0755 --- distro-files/etc/rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/distro-files/etc/rc b/distro-files/etc/rc index ae53f1b4..d30ffcf2 100644 --- a/distro-files/etc/rc +++ b/distro-files/etc/rc @@ -1,9 +1,12 @@ #!/usr/bin/bash mkdir -p /dev mount /dev devfs +chmod 0755 /dev + mkdir -p /dev/shm mount /dev/shm tmpfs +chmod 1777 /dev/shm mkdir -p /tmp mount /tmp tmpfs - +chmod 1777 /tmp