[xserver 1.20.0] Xorg.wrap broken - meson build
@fafryd1125
Submitted by fafryd Assigned to Xorg Project Team
Link to original bug (#106588)
Description
Created attachment 139652 Fix bug#1 and #2
Related: https://bugs.archlinux.org/task/58644
/usr/bin/Xorg In xorg-server 1.20.0 is no longer a wrapper script. Instead it's a binary that appears to be identical to the one at /usr/lib/Xorg . This breaks the execution of X with root rights.
summary: #1 (closed) 'Xorg'[1] and 'Xorg'[2] are generated in the same build meson directory. One overwrites the other
#2 meson does not apply install_mode for executable targets so the suid is not set infact the meson.build does not even try to set it.
[1] https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/meson.build?h=xorg-server-1.20.0#n101 [2] https://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/meson.build?h=xorg-server-1.20.0#n148
Patch 139652, "Fix bug#1 and #2":
0001-v2-FS-58644.patch