]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
xserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation
authorRoss Burton <ross.burton@arm.com>
Tue, 4 Mar 2025 11:12:33 +0000 (11:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2025 21:26:16 +0000 (21:26 +0000)
commit5c98609bf7dfb05af722e30adb49731727df9a94
tree6dfd540b76e55861a8fc1d06bc2b62858b5944cc
parenta977c2a61dfabed9be061d742797248448aa5ade
xserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation

This directory must have mode 0700, and should be under /run/user (as
recommended in the specification, and as weston-init does).

Also check the permissions if the directory already exists and fail
early if they're incorrect.

[ YOCTO #13878 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-graphics/x11-common/xserver-nodm-init/X11/Xsession.d/13xdgbasedirs.sh