git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2941d2e
)
Fix mode_t in mkdir.
author
Wilco Baan Hofman
<wilco@baanhofman.nl>
Wed, 5 May 2010 08:12:20 +0000
(10:12 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 20 Jun 2010 15:19:11 +0000
(17:19 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/policy/gp_filesys.c
patch
|
blob
|
history
diff --git
a/source4/lib/policy/gp_filesys.c
b/source4/lib/policy/gp_filesys.c
index 03d746861f632b4c31b2a93fed5fc9c349cd48e1..771ba5e072b065ec5cef83720d47210594eb2556 100644
(file)
--- 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,
0
755);
if (rv < 0) {
DEBUG(0, ("Could not create local path\n"));
talloc_free(mem_ctx);