From a82a7d386ca2cbfb1db79e2cede363516f0a0f99 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 4 Jun 2009 15:46:05 +0100 Subject: Makefile: Set data directory permissions to 750 on install [thanks Dwayne Bent] --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f65e7f74..3a3ea9ef 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,8 @@ all: prosody.install prosodyctl.install prosody.cfg.lua.install $(MAKE) -C util-src install install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so - install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATA) + install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) + install -m750 -d $(DATA) install -d $(CONFIG)/certs install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util install -m755 ./prosody.install $(BIN)/prosody -- cgit v1.2.3