From: Wilco Baan Hofman Date: Wed, 5 May 2010 08:12:20 +0000 (+0200) Subject: Fix mode_t in mkdir. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=32ee6f8cfddefff92e59e230c5920afec16ffd7d;p=abartlet%2Fsamba.git%2F.git Fix mode_t in mkdir. Signed-off-by: Jelmer Vernooij --- diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c index 03d746861f6..771ba5e072b 100644 --- a/source4/lib/policy/gp_filesys.c +++ b/source4/lib/policy/gp_filesys.c @@ -224,7 +224,7 @@ NTSTATUS gp_fetch_gpo (struct gp_context *gp_ctx, struct gp_object *gpo, const c /* Create the GPO dir if it does not exist */ if (stat(state->local_path, &st) != 0) { - rv = mkdir(state->local_path, 755); + rv = mkdir(state->local_path, 0755); if (rv < 0) { DEBUG(0, ("Could not create local path\n")); talloc_free(mem_ctx);