mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 008ea4354755869c8770a42b05a6a1939b9280de
parent 1053a1a241e55b1aa5742f9246480077143f8cdd
Author: ccx <ccx@te2000.cz>
Date:   Wed, 10 Apr 2024 15:41:05 +0000

Change /dev/input and /dev/dri permissions on xorg start

Diffstat:
Mservice_scripts/xorg/run | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/service_scripts/xorg/run b/service_scripts/xorg/run @@ -59,9 +59,13 @@ ns_run_unshared data/root { if { mount -o bind /dev/dri ./dev/dri } if { mount -o bind /dev/input ./dev/input } + # fixup permissions if { chgrp -R video ./dev/dri } + if { chmod g+rw ./dev/dri/card0 } + if { chgrp -R input ./dev/input } + if { chmod -R g+r ./dev/input } if { cp -a /dev/tty0 ./dev/tty0 } if { chmod 660 ./dev/tty0 }