From 50f7660f54b114e7cb683b0bd7829e2b17b7412d Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 6 Oct 2020 10:48:03 +0200 Subject: [PATCH] Do not set group of some files to root There are a couple of reasons for that: 1. Some operating systems (such as FreeBSD) do not have group root (the root user is a member of the wheel group instead). 2. It makes packaging and testing out the installation as an unprivileged user a bit harder. 3. Those files will most likely get appropriate owner and group anyway during installation anyway. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d57f0d4..7c3ca08 100644 --- a/Makefile +++ b/Makefile @@ -37,11 +37,11 @@ install: install tenshi ${DESTDIR}${bindir}/tenshi if [ ! -f ${DESTDIR}${sysconfdir}/tenshi/tenshi.conf ]; then \ mkdir -p ${DESTDIR}${sysconfdir}/tenshi && \ - install -g root -m 0644 tenshi.conf ${DESTDIR}${sysconfdir}/tenshi/tenshi.conf; \ + install -m 0644 tenshi.conf ${DESTDIR}${sysconfdir}/tenshi/tenshi.conf; \ fi install -d ${DESTDIR}${docdir} install -m 0644 ${DOCS} ${DESTDIR}${docdir}/ [ -d ${DESTDIR}${mandir}/man8 ] || \ install -d ${DESTDIR}${mandir}/man8 - install -g root -m 0644 tenshi.8 ${DESTDIR}${mandir}/man8/ - install -g root -m 755 -d ${DESTDIR}${libdir} + install -m 0644 tenshi.8 ${DESTDIR}${mandir}/man8/ + install -m 755 -d ${DESTDIR}${libdir}