From: Florian Forster Date: Tue, 21 Nov 2006 16:10:52 +0000 (+0100) Subject: src/Makefile.am: Install the `collectd.conf' with restricted permissions, 0640. X-Git-Tag: collectd-3.11.0~44 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=668a5046f040ddd5edfce48d0bbf4666858cbbf9;p=collectd.git src/Makefile.am: Install the `collectd.conf' with restricted permissions, 0640. Thanks to Lubos for suggesting this :) --- 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