mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
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:
parent
59916d55b4
commit
7d9591ccdc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user