summaryrefslogtreecommitdiffstats
path: root/lib/param/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param/util.c')
-rw-r--r--lib/param/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/util.c b/lib/param/util.c
index 232e85b75c..faf161d4d4 100644
--- a/lib/param/util.c
+++ b/lib/param/util.c
@@ -91,7 +91,7 @@ static char *lpcfg_common_path(TALLOC_CTX* mem_ctx,
}
trim_string(dname,"","/");
- ok = directory_create_or_exist(dname, geteuid(), 0755);
+ ok = directory_create_or_exist(dname, 0755);
if (!ok) {
DEBUG(1, ("Unable to create directory %s for file %s. "
"Error was %s\n", dname, name, strerror(errno)));
@@ -231,7 +231,7 @@ char *smbd_tmp_path(TALLOC_CTX *mem_ctx,
return NULL;
}
- ok = directory_create_or_exist(dname, geteuid(), 0755);
+ ok = directory_create_or_exist(dname, 0755);
if (!ok) {
return NULL;
}