mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Set sane permissions on files. Let umask protect the user. r=rjc,dougt
Partial fix for 43091.
This commit is contained in:
parent
97248be348
commit
d2e0309a69
@ -819,7 +819,7 @@ RDFXMLDataSourceImpl::Flush(void)
|
||||
nsFileURL url(mURLSpec, PR_TRUE);
|
||||
nsFileSpec path(url);
|
||||
|
||||
nsOutputFileStream out(path);
|
||||
nsOutputFileStream out(path, nsOutputFileStream::kDefaultMode, 0755);
|
||||
if (! out.is_open())
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user