Skip to content

wayland/xwayland: Create /tmp/.X11-unix with the correct mode

Florian Müllner requested to merge fmuellner/mutter:fix-mkdir-mode into main

The directory must be world-writable. Unfortunately just requesting an appropriate mode with mkdir() would be too obvious, as that value is modified by the process' umask.

Go Unix!

Make sure the directory is created with the correct mode by unsetting the umask before the mkdir() call, and restoring it afterwards.

Merge request reports

Loading