From 32faa9b94cd6b3290233fe006570975ab558ca8b Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Tue, 10 Jan 2012 11:21:07 -0800 Subject: [PATCH] Bug 716868. r=philikon --HG-- extra : rebase_source : 782c06acf95a58f0c1b48fb16ad9e1eb25aae0f0 --- browser/base/content/syncUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/base/content/syncUtils.js b/browser/base/content/syncUtils.js index 84dba6118eb8..39fae84bfc2f 100644 --- a/browser/base/content/syncUtils.js +++ b/browser/base/content/syncUtils.js @@ -197,7 +197,7 @@ let gSyncUtils = { || rv == Ci.nsIFilePicker.returnReplace) { let stream = Cc["@mozilla.org/network/file-output-stream;1"] .createInstance(Ci.nsIFileOutputStream); - stream.init(filepicker.file, -1, -1, 0); + stream.init(filepicker.file, -1, 0600, 0); let serializer = new XMLSerializer(); let output = serializer.serializeToString(iframe.contentDocument);