Bug 1385816 - nsFileStreamBase::DoOpen() should call directory creation with 0755 permission instead of 0644. r=bz

--HG--
extra : amend_source : 81a593608d104845afef23ff3efc4cf1c6cf3d32
This commit is contained in:
ISHIKAWA, Chiaki 2017-07-31 11:00:00 -04:00
Родитель 906940697c
Коммит 3705f09fcf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -332,7 +332,7 @@ nsFileStreamBase::DoOpen()
// Result doesn't need to be checked. If the file's parent path does not
// exist, make it. If it does exist, do nothing.
if (parent) {
Unused << parent->Create(nsIFile::DIRECTORY_TYPE, 0644);
Unused << parent->Create(nsIFile::DIRECTORY_TYPE, 0755);
}
}