mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Create password file with mode 0600 per bug 227100.
This commit is contained in:
parent
d6ad711ccb
commit
c2afeca7a7
@ -1458,7 +1458,9 @@ void
|
||||
nsPasswordManager::WriteSignonFile()
|
||||
{
|
||||
nsCOMPtr<nsIOutputStream> fileStream;
|
||||
NS_NewLocalFileOutputStream(getter_AddRefs(fileStream), mSignonFile);
|
||||
NS_NewLocalFileOutputStream(getter_AddRefs(fileStream), mSignonFile, -1,
|
||||
0600, 0);
|
||||
|
||||
if (!fileStream)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user