From 71e77b9cbebfef0e37c4996967857e379f74d9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 18 Apr 2010 20:15:16 +0200 Subject: [PATCH] xfree86: Makefile shouldn't rely on superuser being named 'root' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the 'chown' statement in Makefile.am to use the numeric UID of superuser instead of relying on the name 'root'. Signed-off-by: Michał Górny https://bugs.freedesktop.org/show_bug.cgi?id=27726 --- hw/xfree86/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am index 116113b..77cdc32 100644 --- a/hw/xfree86/Makefile.am +++ b/hw/xfree86/Makefile.am @@ -104,7 +104,7 @@ install-data-local: install-exec-local: install-binPROGRAMS (cd $(DESTDIR)$(bindir) && rm -f X && ln -s Xorg X) if INSTALL_SETUID - chown root $(DESTDIR)$(bindir)/Xorg + chown 0 $(DESTDIR)$(bindir)/Xorg chmod u+s $(DESTDIR)$(bindir)/Xorg endif -- 1.7.0.4