summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2014-01-13 06:36:45 +0000
committerPatrick McHardy <kaber@trash.net>2014-01-13 06:36:45 +0000
commitb566123b9b60aff8ef21dfa7b21f817261236b1d (patch)
treed54b9568302cdce2eaf676a6bd6368175395129f /files
parent676b0499528a64061075034065c346ad9498cafd (diff)
nftables: drop hard coded install using root user owner and group
Packaging systems build as a non priv user, so can't install as root. Users installing from source can 'sudo make install' or run 'make install' as root Signed-off-by: Kevin Fenzi <kevin@scrye.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'files')
-rw-r--r--files/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/Makefile.in b/files/Makefile.in
index cd67c37d..c3643df2 100644
--- a/files/Makefile.in
+++ b/files/Makefile.in
@@ -1,4 +1,4 @@
install:
@echo -e " INSTALL\tfiles"
$(MKDIR_P) $(DESTDIR)/$(confdir)
- $(INSTALL) -m 755 -o root -g root $(SUBDIR)nftables/* $(DESTDIR)/$(confdir)/
+ $(INSTALL) -m 755 -p $(SUBDIR)nftables/* $(DESTDIR)/$(confdir)/