commit 89eb037ee26efbd8e42bc6eb15c84e3cc7fede6e
parent f6efd0106954404c4f5582685a8e5a93f8b40b51
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 15 Mar 2014 17:25:07 +0100
rc.init: mount /dev/pts with proper permissions
This is needed for xterm and st (openpty). Note: gid=5 is the tty group on most systems.
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/rc.init b/bin/rc.init
@@ -20,7 +20,7 @@ mount -n -t proc proc /proc
mount -n -t sysfs sysfs /sys
mount -n -t devtmpfs dev /dev
mkdir -p /dev/pts
-mount -n -t devpts devpts /dev/pts
+mount -n -t devpts -o gid=5,mode=620 devpts /dev/pts
mount -o remount,ro /