diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2010-05-05 10:12:20 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 17:19:11 +0200 |
commit | 32ee6f8cfddefff92e59e230c5920afec16ffd7d (patch) | |
tree | be13bb0858a51ada5aa8baa553a84700a1f98762 /source4 | |
parent | 2941d2ebc353f16b6eb63985a8a71f454f16212e (diff) | |
download | samba-32ee6f8cfddefff92e59e230c5920afec16ffd7d.tar.gz samba-32ee6f8cfddefff92e59e230c5920afec16ffd7d.tar.bz2 samba-32ee6f8cfddefff92e59e230c5920afec16ffd7d.zip |
Fix mode_t in mkdir.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/policy/gp_filesys.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |