[notify] xorg-server: explicitly sets suid bit for Xorg.wrapper

This commit is contained in:
Tim Biermann 2021-11-01 12:30:20 +01:00
parent ad7ff8b6e6
commit 177dd6a8af
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 6 additions and 4 deletions

View File

@ -173,7 +173,7 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/xorg-server.pc
drwxr-xr-x root/root usr/lib/xorg-server/
-rwxr-xr-x root/root usr/lib/xorg-server/Xorg
-r-xr-xr-x root/root usr/lib/xorg-server/Xorg.wrap
-rwsr-xr-x root/root usr/lib/xorg-server/Xorg.wrap
drwxr-xr-x root/root usr/lib/xorg/
drwxr-xr-x root/root usr/lib/xorg/modules/
drwxr-xr-x root/root usr/lib/xorg/modules/drivers/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/xorg.pub
RWTSGWF5Q7TndDA+YSahr9yvaXD0qkVmuwYqPQ7wIBI/ImLm/DPQQVvZ9xBMo+HwPfKXlQr04QAaXckiAyhjjni/K8eu+Phbnwc=
SHA256 (Pkgfile) = d1eedd89e1cb01fe42514c3ee1175c30d8991ef204ee6cf7f89acba35e7a83ff
SHA256 (.footprint) = 6838beebf40c1bc6c7ea5e8863aed234277a59f1a4a1c733c715a89250c16755
RWTSGWF5Q7TndOtVXmkOCPRWa9RdCUwdJATbqjsYl10XcOySFfvImGuuG14jjGyBFWQSE/1xdB3IwQuXiXW27JzmS+y0YK2LAgs=
SHA256 (Pkgfile) = dc30b31d88a6ba969678be7d64b55d855b3f1dea39677c8479e52297301e8bef
SHA256 (.footprint) = c0aa71936714937e122d5497b8cd4ab664f24a5d0ac1e4b1b64e622175f7cbe5
SHA256 (xserver-xorg-server-21.1.0.tar.bz2) = f8fe88731d8bde9b9d889ea9c4c397ffc7e963111b1feba6c4d935dd8a38ec92

View File

@ -25,6 +25,8 @@ build() {
DESTDIR=$PKG meson install -C build
#ln -s Xorg $PKG/usr/bin/X
/bin/chmod 4755 $PKG/usr/lib/xorg-server/Xorg.wrap
install -m 755 -d $PKG/etc/X11/xorg.conf.d
echo "needs_root_rights = yes" >> $PKG/etc/X11/Xwrapper.config
}