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);