Bug 1434911 - when creating temporary files, don't set the executable bit; r=froydnj

MozReview-Commit-ID: HxD5z7hm3ra

--HG--
extra : rebase_source : 3bf62b3943e64dca33f79299dd79dbd63dcfdba3
This commit is contained in:
Alex Gaynor 2018-02-01 09:52:01 -05:00
parent 59916d55b4
commit 7d9591ccdc

View File

@ -111,7 +111,7 @@ NS_OpenAnonymousTemporaryNsIFile(nsIFile** aFile)
return rv;
}
rv = tmpFile->CreateUnique(nsIFile::NORMAL_FILE_TYPE, 0700);
rv = tmpFile->CreateUnique(nsIFile::NORMAL_FILE_TYPE, 0600);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}