From 150b7ac8e1c0f029b90f63424867ee5347821cf7 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 3 Apr 2013 12:49:41 -0700 Subject: xserver-nodm-init: Add xuser to input group Fixes [YOCTO 4164](3/3) Input devices come and go, so a single chmod in this init script is not adequate to ensure rootless X servers can use input devices. The o+rw method also introduces a security hole. The newly added input group and input udev rule address this in a secure way. Ensure the xuser is added to the input group. Signed-off-by: Darren Hart Cc: Saul Wold Cc: Laurentiu Palcu Signed-off-by: Saul Wold --- meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 - 1 file changed, 1 deletion(-) (limited to 'meta/recipes-graphics/x11-common/xserver-nodm-init') diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm index e790fb0921..f6692a814b 100755 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm @@ -33,7 +33,6 @@ case "$1" in # setting for rootless X chmod o+w /var/log chmod g+r /dev/tty[0-3] - chmod o+rw /dev/input/* # hidraw device is probably needed if [ -e /dev/hidraw0 ]; then chmod o+rw /dev/hidraw* -- cgit v1.2.3