Install tcsd.conf as root:tss 0640 since as of commit
e74dd1d96753b0538192143adf58d04fcd3b242b that's what tcsd_conf.c
requires it to be.

Signed-off-by: George McCollister <[email protected]>
---
 dist/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/Makefile.am b/dist/Makefile.am
index 372736a..9e8269a 100644
--- a/dist/Makefile.am
+++ b/dist/Makefile.am
@@ -4,8 +4,8 @@ EXTRA_DIST = system.data.auth system.data.noauth \
 install: install-exec-hook
        if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p 
${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
 if !NOUSERCHECK
-       /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
-       /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
+       /bin/chown root:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
+       /bin/chmod 0640 ${DESTDIR}/@sysconfdir@/tcsd.conf
 endif
 
 install-exec-hook:
-- 
2.11.0



_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to