Set sane permissions on files. Let umask protect the user. r=rjc,dougt

Partial fix for 43091.
This commit is contained in:
syd%netscape.com 2000-08-04 22:13:59 +00:00
parent 97248be348
commit d2e0309a69

View File

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