diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-10-08 13:30:41 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-10-08 17:46:28 +0300 |
commit | f4d4137fc73518496f2b737d9b401e1def78c482 (patch) | |
tree | eb3b9b1cc23198f7890bfae491e0cfb4fa09b70b | |
parent | d9e2705025a81587f7f4ba8dc401b5cf706ccb52 (diff) | |
download | aconf-f4d4137fc73518496f2b737d9b401e1def78c482.tar.bz2 aconf-f4d4137fc73518496f2b737d9b401e1def78c482.tar.xz |
Makefile: restricted permissions for user database file
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,12 +14,12 @@ all: install define _copy = install -d $$(dir $$@) - install -m 644 $$< $$@ + install -m $(if $(1),$(1),644) $$< $$@ endef define copy = $(ROOT_DIR)/$(2)/$(3): $(1)/$(3) -$(call _copy) +$(call _copy,$(4)) files += $(2)/$(3) endef @@ -47,7 +47,7 @@ $(ROOT_DIR)/$(luadir)/modules: install -d $@ $(eval $(call link,config,$(confdir))) -$(eval $(call copy,config,$(confdir),aaa.json)) +$(eval $(call copy,config,$(confdir),aaa.json,600)) $(eval $(call copy,.,$(resdir),LICENSE)) |