[master,v2,3/3] xwayland.weston-start: adaption of X11-unix folder

Message ID 20220614062707.2946041-3-Sebastian.Suesens@baslerweb.com
State Accepted, archived
Commit 6aaffaca8afb3955253834f10517769dbe3b22b8
Headers show
Series [master,v2,1/3] weston.py: added xwayland test | expand

Commit Message

Sebastian Suesens June 14, 2022, 6:27 a.m. UTC
From: ssuesens <sebastian.suesens@baslerweb.com>

changed permission of X11-unix to 775
changed owner of X11-unix to root:video

Signed-off-by: ssuesens <sebastian.suesens@baslerweb.com>
---
 meta/recipes-graphics/wayland/weston/xwayland.weston-start | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-graphics/wayland/weston/xwayland.weston-start b/meta/recipes-graphics/wayland/weston/xwayland.weston-start
index db384b1a53..342ac8d129 100644
--- a/meta/recipes-graphics/wayland/weston/xwayland.weston-start
+++ b/meta/recipes-graphics/wayland/weston/xwayland.weston-start
@@ -1,5 +1,6 @@ 
 #!/bin/sh
 
 if type Xwayland  >/dev/null 2>/dev/null; then
-	mkdir -p /tmp/.X11-unix
+	mkdir -m 775 -p /tmp/.X11-unix
+	chown root:video /tmp/.X11-unix
 fi