summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.Makefile.inc2
-rwxr-xr-xconfigure1
2 files changed, 3 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index f8fb1b7fb..743cb4aae 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -30,6 +30,8 @@ ircd:
bininst:
@-cp src/*.so $(LIBPATH)
@-cp src/inspircd $(BINPATH)
+ @chmod 0700 $(BINPATH)/inspircd
+ @chmod 0700 $(LIBPATH)/*.so
config:
@cp conf/inspire.motd $(CONPATH)/inspire.motd.example
diff --git a/configure b/configure
index 0a5826dc2..f0881ee4c 100755
--- a/configure
+++ b/configure
@@ -456,6 +456,7 @@ EOF
m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h
\$(CC) -I../../include \$(FLAGS) -shared $flags -o m_$i.so m_$i.cpp
\@cp m_$i.so \$(MODPATH)/
+ \@chmod 0700 \$(MODPATH)/m_$i.so
EOCHEESE
}