diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-09 03:14:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-09 03:14:24 +0000 |
commit | 71046a6a1c3827170ed19326fed7a63487dca658 (patch) | |
tree | 6bf46deda6d5e9cf7bfa0aee5bf664cbdcfae718 | |
parent | a11c45285361761e145eae963539fe7056a5853b (diff) |
Now secures binaries with 0700 perms as theyre installed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1338 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | .Makefile.inc | 2 | ||||
-rwxr-xr-x | configure | 1 |
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 @@ -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 } |