aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-04 15:46:05 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-04 15:46:05 +0100
commita82a7d386ca2cbfb1db79e2cede363516f0a0f99 (patch)
tree6ac0fc9ca47f0b0287b4a9d231e713c97cef997e
parente70d58ad08426aba21c8c7e39d2d6ca9ca58015d (diff)
downloadprosody-a82a7d386ca2cbfb1db79e2cede363516f0a0f99.tar.gz
prosody-a82a7d386ca2cbfb1db79e2cede363516f0a0f99.zip
Makefile: Set data directory permissions to 750 on install [thanks Dwayne Bent]
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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