From 32ee6f8cfddefff92e59e230c5920afec16ffd7d Mon Sep 17 00:00:00 2001 From: Wilco Baan Hofman Date: Wed, 5 May 2010 10:12:20 +0200 Subject: Fix mode_t in mkdir. Signed-off-by: Jelmer Vernooij --- source4/lib/policy/gp_filesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c index 03d746861f..771ba5e072 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); -- cgit