svn commit: samba r7907 - in branches/SAMBA_4_0/source/setup: .

tridge at samba.org tridge at samba.org
Sat Jun 25 14:18:34 GMT 2005


Author: tridge
Date: 2005-06-25 14:18:34 +0000 (Sat, 25 Jun 2005)
New Revision: 7907

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7907

Log:
the old solaris perl doesn't handle mkdir() without a mode





Modified:
   branches/SAMBA_4_0/source/setup/provision.pl


Changeset:
Modified: branches/SAMBA_4_0/source/setup/provision.pl
===================================================================
--- branches/SAMBA_4_0/source/setup/provision.pl	2005-06-25 14:18:01 UTC (rev 7906)
+++ branches/SAMBA_4_0/source/setup/provision.pl	2005-06-25 14:18:34 UTC (rev 7907)
@@ -414,7 +414,7 @@
 $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);



More information about the samba-cvs mailing list