From 668a5046f040ddd5edfce48d0bbf4666858cbbf9 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 21 Nov 2006 17:10:52 +0100 Subject: [PATCH] src/Makefile.am: Install the `collectd.conf' with restricted permissions, 0640. Thanks to Lubos for suggesting this :) --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index be062863..7d707d93 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -398,7 +398,7 @@ install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) if test -e $(DESTDIR)$(sysconfdir)/collectd.conf; \ then \ - $(INSTALL_DATA) collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf.pkg-orig; \ + $(INSTALL) -m 0640 collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf.pkg-orig; \ else \ - $(INSTALL_DATA) collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf; \ + $(INSTALL) -m 0640 collectd.conf $(DESTDIR)$(sysconfdir)/collectd.conf; \ fi -- 2.11.0