From 5e1a3be905a13b1060881897598d0b4ce453d216 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 15 Dec 2008 02:41:43 +0100 Subject: [PATCH] sysklogd: fix perms for syslogd/klogd bins. --HG-- extra : convert_revision : b72ddd3dc9bb387e14646157ba659219c28c3e28 --- templates/sysklogd-fix-install.diff | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/sysklogd-fix-install.diff b/templates/sysklogd-fix-install.diff index 2d70ee2e801..3b481f6a6eb 100644 --- a/templates/sysklogd-fix-install.diff +++ b/templates/sysklogd-fix-install.diff @@ -1,5 +1,5 @@ ---- Makefile.orig 2008-10-25 04:03:26.000000000 +0200 -+++ Makefile 2008-10-25 04:04:34.000000000 +0200 +--- Makefile.orig 2008-12-15 02:35:56.000000000 +0100 ++++ Makefile 2008-12-15 02:38:10.000000000 +0100 @@ -27,10 +27,10 @@ SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fo LDFLAGS= -s @@ -17,9 +17,11 @@ rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd tklogd install_exec: syslogd klogd +- ${INSTALL} -m 500 -s syslogd ${BINDIR}/syslogd +- ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd + ${INSTALL} -d ${BINDIR} - ${INSTALL} -m 500 -s syslogd ${BINDIR}/syslogd - ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd ++ ${INSTALL} -s syslogd ${BINDIR}/syslogd ++ ${INSTALL} -s klogd ${BINDIR}/klogd install_man: - ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8