summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-25 14:18:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:48 -0500
commit2f454d29059f02f1dd4c7e5a8069fd7042b8471f (patch)
treec31ae609f5a29c5dc280333c1d28708c6c86dd0a
parent033def25afb8830679650e6e6abe0926ef7e9bf2 (diff)
downloadsamba-2f454d29059f02f1dd4c7e5a8069fd7042b8471f.tar.gz
samba-2f454d29059f02f1dd4c7e5a8069fd7042b8471f.tar.bz2
samba-2f454d29059f02f1dd4c7e5a8069fd7042b8471f.zip
r7907: the old solaris perl doesn't handle mkdir() without a mode
(This used to be commit 54d698c4888ce453926aed6102621d20fe744031)
-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);