mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 11:43:13 +02:00
Fixed a DEFAULT_PERMISSIONS bug
This commit is contained in:
@@ -1025,3 +1025,4 @@ seen. gmtime warning still there
|
||||
- Fixed some slave work.. return MOD_SUCCESS; in all command modules..
|
||||
- make install fix
|
||||
- Fixed a last minute bug in win32
|
||||
- Fixed a bug affecting DEFAULT_PERMISSIONS reported by ashukmin
|
||||
|
||||
+1
-1
@@ -213,7 +213,7 @@ install: all
|
||||
$(INSTALL) -m 0700 networks/makenet $(IRCDDIR)/networks
|
||||
$(INSTALL) -m 0600 networks/networks.ndx $(IRCDDIR)/networks
|
||||
$(INSTALL) -m 0700 -d $(IRCDDIR)/doc
|
||||
$(INSTALL) -m 0600 doc/Authors doc/conf.doc doc/faq doc/tao.of.irc doc/coding-guidelines doc/example.conf doc/features.txt doc/unrealircd.conf.txt doc/commands.txt doc/example.settings doc/services-install-guide doc/unrealircd.doc $(IRCDDIR)/doc
|
||||
$(INSTALL) -m 0600 doc/Authors doc/conf.doc doc/faq doc/coding-guidelines doc/example.conf doc/features.txt doc/unrealircd.conf.txt doc/commands.txt doc/example.settings doc/services-install-guide doc/unrealircd.doc $(IRCDDIR)/doc
|
||||
$(INSTALL) -m 0700 -d $(IRCDDIR)/aliases
|
||||
$(INSTALL) -m 0600 aliases/*.conf $(IRCDDIR)/aliases
|
||||
$(TOUCH) $(IRCDDIR)/unrealircd.conf
|
||||
|
||||
+1
-1
@@ -1080,7 +1080,7 @@ int InitwIRCD(argc, argv)
|
||||
initstats();
|
||||
booted = FALSE;
|
||||
/* Hack to stop people from being able to read the config file */
|
||||
#if !defined(_WIN32) && !defined(_AMIGA) && defined(DEFAULT_PERMISSIONS)
|
||||
#if !defined(_WIN32) && !defined(_AMIGA) && DEFAULT_PERMISSIONS != 0
|
||||
chmod(CPATH,DEFAULT_PERMISSIONS);
|
||||
#endif
|
||||
init_dynconf();
|
||||
|
||||
+1
-1
@@ -961,7 +961,7 @@ int _conf_include(ConfigFile *conf, ConfigEntry *ce)
|
||||
ce->ce_varlinenum);
|
||||
return -1;
|
||||
}
|
||||
#if !defined(_WIN32) && !defined(_AMIGA) && defined(DEFAULT_PERMISSIONS)
|
||||
#if !defined(_WIN32) && !defined(_AMIGA) && DEFAULT_PERMISSIONS != 0
|
||||
chmod(ce->ce_vardata, DEFAULT_PERMISSIONS);
|
||||
#endif
|
||||
#ifdef GLOBH
|
||||
|
||||
Reference in New Issue
Block a user