mrrl-system-config

system configuration on top of MRRL
git clone https://ccx.te2000.cz/git/mrrl-system-config
Log | Files | Refs

commit 56a547f36d1c73961145fc7bf0c6f45a12a1355f
parent c78db535c5810264a39114ad04b3ec47d1177a6f
Author: ccx <ccx@te2000.cz>
Date:   Wed, 13 Mar 2024 21:08:28 +0000

Revert permissions on X service on logout

Diffstat:
Ms6-rc.aat | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/s6-rc.aat b/s6-rc.aat @@ -86,6 +86,13 @@ {{qexec("env")}} LOGIN_TTY=/dev/tty{{tty}} {{qexec("getty")}} -l {{qexec("login-keepenv")}} 38400 tty{{tty}} linux |if(tty >= 1 && tty <= 4) { |finish_el() + {{qexec("foreground")}} { + {{qexec("chgrp")}} + -R root + /run/service/X{{tty + 4}}/supervise + /run/service/X{{tty + 4}}/event + } + {{qexec("foreground")}} { {{qexec("chown")}} xorg:root /run/Xauthority.$X } {{qexec("s6-svc")}} -wD -d /run/service/X{{tty + 4}} |end() |}