From 6dc008a70f5ab74811de9003ab60f61c621a8599 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 15 Jun 2015 11:11:19 +0200 Subject: [PATCH] prevent writing into auto-generated files --- etc/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/Makefile.am b/etc/Makefile.am index d18f72af..0a36c500 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -24,6 +24,7 @@ radiusclient.conf: radiusclient.conf.in sed -e 's|@sbin''dir@|$(sbindir)|g' \ -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \ <$(srcdir)/radiusclient.conf.in >radiusclient.conf + chmod ogu-w $@ install-data-local: servers servers-tls $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \ @@ -36,6 +37,7 @@ radiusclient-tls.conf: radiusclient-tls.conf.in sed -e 's|@sbin''dir@|$(sbindir)|g' \ -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \ <$(srcdir)/radiusclient-tls.conf.in >radiusclient-tls.conf + chmod ogu-w $@ uninstall-local: rm -f $(DESTDIR)$(pkgsysconfdir)/servers