From 2f454d29059f02f1dd4c7e5a8069fd7042b8471f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 25 Jun 2005 14:18:34 +0000 Subject: r7907: the old solaris perl doesn't handle mkdir() without a mode (This used to be commit 54d698c4888ce453926aed6102621d20fe744031) --- source4/setup/provision.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit