1
0

- remove Xorg setuid bit (bnc #632737)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=307
This commit is contained in:
Stefan Dirsch 2010-12-03 03:32:04 +00:00 committed by Git OBS Bridge
parent 00511c6da7
commit 6f579278cd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 3 03:30:50 UTC 2010 - sndirsch@novell.com
- remove Xorg setuid bit (bnc #632737)
-------------------------------------------------------------------
Sun Nov 14 09:15:22 UTC 2010 - sndirsch@novell.com

View File

@ -303,7 +303,8 @@ find $RPM_BUILD_ROOT/usr/%{_lib}/xorg/modules/ -name "*.la" | \
xargs rm
install -m 644 hw/xfree86/parser/{xf86Parser.h,xf86Optrec.h} \
$RPM_BUILD_ROOT/usr/include/xorg
chmod u+s $RPM_BUILD_ROOT/usr/bin/Xorg
# bnc #632737
chmod u-s $RPM_BUILD_ROOT/usr/bin/Xorg
mkdir -p $RPM_BUILD_ROOT/var/lib/X11
ln -snf ../../../usr/bin/Xorg $RPM_BUILD_ROOT/var/lib/X11/X
ln -snf ../../var/lib/X11/X $RPM_BUILD_ROOT/usr/bin/X