From 1aa0503401d41fec48d4d4e30d8bbcbd847ff807 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 8 Jan 2013 14:21:23 +0100 Subject: Use the new directory_create_or_exist_strict() function. Reviewed-by: Andrew Bartlett --- source4/lib/messaging/messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index 5966c29d5a..c37c91eb27 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -604,7 +604,7 @@ struct imessaging_context *imessaging_init(TALLOC_CTX *mem_ctx, msg->base_path = lpcfg_imessaging_path(msg, lp_ctx); - ok = directory_create_or_exist(msg->base_path, geteuid(), 0700); + ok = directory_create_or_exist_strict(msg->base_path, geteuid(), 0700); if (!ok) { talloc_free(msg); return NULL; -- cgit