Changeset

1300:954973fd2939

Makefile: Set data directory permissions to 750 on install [thanks Dwayne Bent]
author Matthew Wild <mwild1@gmail.com>
date Thu, 04 Jun 2009 15:46:05 +0100
parents 1299:997ac65a85f4
children 1306:802630868d70
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 04 15:30:00 2009 +0100
+++ b/Makefile	Thu Jun 04 15:46:05 2009 +0100
@@ -16,7 +16,8 @@
 	$(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