| Index: base/file_util_posix.cc
|
| diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
|
| index 9270e8a209416af2f76f8b4b4b17af2f7ac93bcf..3910986b0ad4f0b5d6246fb7e53af65f400b03bd 100644
|
| --- a/base/file_util_posix.cc
|
| +++ b/base/file_util_posix.cc
|
| @@ -665,7 +665,7 @@ int ReadFile(const FilePath& filename, char* data, int max_size) {
|
|
|
| int WriteFile(const FilePath& filename, const char* data, int size) {
|
| ThreadRestrictions::AssertIOAllowed();
|
| - int fd = HANDLE_EINTR(creat(filename.value().c_str(), 0666));
|
| + int fd = HANDLE_EINTR(creat(filename.value().c_str(), 0640));
|
| if (fd < 0)
|
| return -1;
|
|
|
|
|