diff --git a/mozilla/config/zipcfunc.pl b/mozilla/config/zipcfunc.pl index 58c6560044e..abb7531ea18 100644 --- a/mozilla/config/zipcfunc.pl +++ b/mozilla/config/zipcfunc.pl @@ -93,7 +93,7 @@ sub ZipChrome() # Make sure $inTargetPath exists if(!(-e "$inTargetPath")) { - mkdir("$inTargetPath", 775); + mkdir("$inTargetPath", 0775); } # Call CreateArchive() on locales, packages, and skins @@ -129,7 +129,7 @@ sub CreateArchive() # Make sure $inDest exists if(!(-e "$inDest")) { - mkdir("$inDest", 775); + mkdir("$inDest", 0775); } # Check for extension, if none is passed, use .jar as default diff --git a/mozilla/tools/tinderbox/post-mozilla-win32-rel.pl b/mozilla/tools/tinderbox/post-mozilla-win32-rel.pl index 0e7749183c2..b1494235848 100755 --- a/mozilla/tools/tinderbox/post-mozilla-win32-rel.pl +++ b/mozilla/tools/tinderbox/post-mozilla-win32-rel.pl @@ -31,7 +31,7 @@ sub packit { #my $dos_stagedir = `cygpath -w $stagedir`; #chomp ($dos_stagedir); - mkdir $stagedir, 775; + mkdir $stagedir, 0775; TinderUtils::run_shell_command "cp -r $package_location/xpi $stagedir/windows-xpi"; TinderUtils::run_shell_command "cp $package_location/sea/*.exe $package_location/stub/*.exe $stagedir/"; diff --git a/mozilla/xpinstall/packager/build/scripts/makeall.pl b/mozilla/xpinstall/packager/build/scripts/makeall.pl index 462b1346b04..c116081935e 100644 --- a/mozilla/xpinstall/packager/build/scripts/makeall.pl +++ b/mozilla/xpinstall/packager/build/scripts/makeall.pl @@ -540,7 +540,7 @@ sub VerifyComponents() if($mComponent =~ /talkback/i) { print " place holder: $inStagePath\\$mComponent\n"; - mkdir("$inStagePath\\$mComponent", 775); + mkdir("$inStagePath\\$mComponent", 0775); } elsif(-d "$inStagePath\\$mComponent") { diff --git a/mozilla/xpinstall/packager/os2/deliver.pl b/mozilla/xpinstall/packager/os2/deliver.pl index 98fce215e4d..372706a90ac 100644 --- a/mozilla/xpinstall/packager/os2/deliver.pl +++ b/mozilla/xpinstall/packager/os2/deliver.pl @@ -113,7 +113,7 @@ if(-d "$DEPTH/stage") # The destination cannot be a sub directory of the source. # pkgcp.pl will get very unhappy. -mkdir("$DEPTH/stage", 775); +mkdir("$DEPTH/stage", 0775); system("perl $cwdPackager/pkgcp.pl -s $cwdDist -d $DEPTH/stage -f $cwdPackager/packages-os2 -o unix -v"); system("perl $cwdPackager/xptlink.pl -s $cwdDist -d $DEPTH/stage -o unix -v"); diff --git a/mozilla/xpinstall/packager/os2/makeall.pl b/mozilla/xpinstall/packager/os2/makeall.pl index ae6e9db2476..0621d40e30c 100644 --- a/mozilla/xpinstall/packager/os2/makeall.pl +++ b/mozilla/xpinstall/packager/os2/makeall.pl @@ -674,14 +674,14 @@ sub CreateTmpStage() # Copy the component's staging dir locally so that the chrome packages, locales, and skins dirs can be # removed prior to creating the .xpi file. - mkdir("$gLocalTmpStage", 775); + mkdir("$gLocalTmpStage", 0775); foreach $mComponent (@gComponentList) { print "\n Copying $mComponent:\n"; print " From: $inStagePath/$mComponent\n"; print " To: $gLocalTmpStage/$mComponent\n\n"; - mkdir("$gLocalTmpStage/$mComponent", 775); + mkdir("$gLocalTmpStage/$mComponent", 0775); # If it's not talkback then copy the component over to the local tmp stage. # If it is, then skip the copy because there will be nothing at the source. @@ -729,7 +729,7 @@ sub VerifyComponents() if($mComponent =~ /talkback/i) { print " place holder: $inStagePath/$mComponent\n"; - mkdir("$inStagePath/$mComponent", 775); + mkdir("$inStagePath/$mComponent", 0775); } elsif(-d "$inStagePath/$mComponent") { diff --git a/mozilla/xpinstall/packager/stage_gre.pl b/mozilla/xpinstall/packager/stage_gre.pl index dd4bea22a99..176ee9e0ec6 100644 --- a/mozilla/xpinstall/packager/stage_gre.pl +++ b/mozilla/xpinstall/packager/stage_gre.pl @@ -53,9 +53,9 @@ sub StageProduct StageUtils::CopyAdditionalPackage("$dirMozRoot/embedding/config/basebrowser-installer-win.pkg", $dirDistPackagesProductName); StageUtils::CopyAdditionalPackage("$dirMozRoot/embedding/config/gre-installer-win.pkg", $dirDistPackagesProductName); - mkdir("$aDirStage", 775) if (!(-e "$aDirStage")); - mkdir("$aDirStage/$aProductName", 775) if (!(-e "$aDirStage/$aProductName")); - mkdir("$aDirStage/$aProductName/gre", 775) if (!(-e "$aDirStage/$aProductName/gre")); + mkdir("$aDirStage", 0775) if (!(-e "$aDirStage")); + mkdir("$aDirStage/$aProductName", 0775) if (!(-e "$aDirStage/$aProductName")); + mkdir("$aDirStage/$aProductName/gre", 0775) if (!(-e "$aDirStage/$aProductName/gre")); # Call pkgcp.pl on each of the package list system("perl \"$dirMozPackager/pkgcp.pl\" -s \"$aDirSrcDist\" -d \"$dirStageProductName\" -f \"$dirDistPackagesProductName/xpcom-win.pkg\" -o $aOsPkg -v"); diff --git a/mozilla/xpinstall/packager/stage_mfcembed.pl b/mozilla/xpinstall/packager/stage_mfcembed.pl index 3d899fd1b8e..445789db272 100644 --- a/mozilla/xpinstall/packager/stage_mfcembed.pl +++ b/mozilla/xpinstall/packager/stage_mfcembed.pl @@ -55,9 +55,9 @@ sub StageProduct StageUtils::CopyAdditionalPackage("$dirMozRoot/embedding/config/basebrowser-win-supp", $dirDistPackagesProductName); StageUtils::CopyAdditionalPackage("$dirMozRoot/embedding/config/gre-win-supp", $dirDistPackagesProductName); - mkdir("$aDirStage", 775) if (!(-e "$aDirStage")); - mkdir("$aDirStage/$aProductName", 775) if (!(-e "$aDirStage/$aProductName")); - mkdir("$aDirStage/$aProductName/mfcembed", 775) if (!(-e "$aDirStage/$aProductName/mfcembed")); + mkdir("$aDirStage", 0775) if (!(-e "$aDirStage")); + mkdir("$aDirStage/$aProductName", 0775) if (!(-e "$aDirStage/$aProductName")); + mkdir("$aDirStage/$aProductName/mfcembed", 0775) if (!(-e "$aDirStage/$aProductName/mfcembed")); # Call pkgcp.pl on each of the package list system("perl \"$dirMozPackager/pkgcp.pl\" -s \"$aDirSrcDist\" -d \"$dirStageProductName\" -f \"$dirDistPackagesProductName/xpcom-win.pkg\" -o $aOsPkg -v"); diff --git a/mozilla/xpinstall/packager/win_gre/makeall.pl b/mozilla/xpinstall/packager/win_gre/makeall.pl index ab462e37803..2134af1c0a0 100644 --- a/mozilla/xpinstall/packager/win_gre/makeall.pl +++ b/mozilla/xpinstall/packager/win_gre/makeall.pl @@ -576,7 +576,7 @@ sub VerifyComponents() if($mComponent =~ /talkback/i) { print " place holder: $gDirStageProduct/$mComponent\n"; - mkdir("$gDirStageProduct/$mComponent", 775); + mkdir("$gDirStageProduct/$mComponent", 0775); } elsif(-d "$gDirStageProduct/$mComponent") { diff --git a/mozilla/xpinstall/packager/win_mfcembed/makeall.pl b/mozilla/xpinstall/packager/win_mfcembed/makeall.pl index 98e0e2cde37..4fdf8841b1d 100644 --- a/mozilla/xpinstall/packager/win_mfcembed/makeall.pl +++ b/mozilla/xpinstall/packager/win_mfcembed/makeall.pl @@ -609,7 +609,7 @@ sub VerifyComponents() if($mComponent =~ /talkback/i) { print " place holder: $gDirStageProduct/$mComponent\n"; - mkdir("$gDirStageProduct/$mComponent", 775); + mkdir("$gDirStageProduct/$mComponent", 0775); } elsif(-d "$gDirStageProduct/$mComponent") { diff --git a/mozilla/xpinstall/packager/windows/makeall.pl b/mozilla/xpinstall/packager/windows/makeall.pl index 658f20f61a4..0860a2f534e 100644 --- a/mozilla/xpinstall/packager/windows/makeall.pl +++ b/mozilla/xpinstall/packager/windows/makeall.pl @@ -647,7 +647,7 @@ sub VerifyComponents() if($mComponent =~ /talkback/i) { print " place holder: $gDirStageProduct/$mComponent\n"; - mkdir("$gDirStageProduct/$mComponent", 775); + mkdir("$gDirStageProduct/$mComponent", 0775); } elsif(-d "$gDirStageProduct/$mComponent") { diff --git a/mozilla/xpinstall/wizard/os2/builder/build.pl b/mozilla/xpinstall/wizard/os2/builder/build.pl index a3102f5b843..cc8b5e5f554 100644 --- a/mozilla/xpinstall/wizard/os2/builder/build.pl +++ b/mozilla/xpinstall/wizard/os2/builder/build.pl @@ -105,7 +105,7 @@ if(-d "$DEPTH/stage") # The destination cannot be a sub directory of the source. # pkgcp.pl will get very unhappy. -mkdir("$DEPTH/stage", 775); +mkdir("$DEPTH/stage", 0775); system("perl $cwdPackager/pkgcp.pl -s $cwdDist -d $DEPTH/stage -f $cwdPackager/packages-os2 -o unix -v"); system("perl $cwdPackager/xptlink.pl -s $cwdDist -d $DEPTH/stage -o unix -v"); diff --git a/mozilla/xpinstall/wizard/windows/builder/build_static.pl b/mozilla/xpinstall/wizard/windows/builder/build_static.pl index 4c117b56712..d0104f47e63 100644 --- a/mozilla/xpinstall/wizard/windows/builder/build_static.pl +++ b/mozilla/xpinstall/wizard/windows/builder/build_static.pl @@ -89,7 +89,7 @@ if(-d "$DEPTH\\stage") # The destination cannot be a sub directory of the source # pkgcp.pl will get very unhappy -mkdir("$DEPTH\\stage", 775); +mkdir("$DEPTH\\stage", 0775); system("perl $cwdPackager\\pkgcp.pl -s $cwdDistWin -d $DEPTH\\stage -f $cwdPackager\\packages-static-win -o dos -v"); chdir("$cwdPackager\\windows");