summaryrefslogtreecommitdiff
path: root/source4/setup/provision.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/provision.pl')
-rwxr-xr-xsource4/setup/provision.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/provision.pl b/source4/setup/provision.pl
index fccc555ce1..aae5f44d5d 100755
--- a/source4/setup/provision.pl
+++ b/source4/setup/provision.pl
@@ -414,7 +414,7 @@ unless ($newdb) {
$opt_quiet or print "Putting new database files in $newdb\n";
unless ($opt_outputdir) {
- mkdir($newdb) || die "Unable to create temporary directory $newdb\n";
+ mkdir($newdb, 0755) || die "Unable to create temporary directory $newdb\n";
}
FileSave("$newdb/sam.ldif", $res);