+2389 [bug] Move the working directory writable to after the
+ ns_os_changeuser() call. [RT #18326]
+
2388. [bug] Avoid using tables for layout purposes in
statistics XSL [RT #18159].
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.512 2008/07/12 05:58:08 jinmei Exp $ */
+/* $Id: server.c,v 1.513 2008/07/18 01:26:20 marka Exp $ */
/*! \file */
}
CHECK(result);
- /*
- * Check that the working directory is writable.
- */
- if (access(".", W_OK) != 0) {
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
- NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
- "the working directory is not writable");
- }
-
/*
* Check the validity of the configuration.
*/
if (first_time)
ns_os_changeuser();
+ /*
+ * Check that the working directory is writable.
+ */
+ if (access(".", W_OK) != 0) {
+ isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
+ NS_LOGMODULE_SERVER, ISC_LOG_ERROR,
+ "the working directory is not writable");
+ }
+
/*
* Configure the logging system.
*