Diff

Makefile @ 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
parent 1299:997ac65a85f4
child 1310:b5a7a9fc9161
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