mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Fix mode_t in mkdir.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
2941d2ebc3
commit
32ee6f8cfd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user