зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
906940697c
Коммит
3705f09fcf
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче