Index: utils.cc |
diff --git a/utils.cc b/utils.cc |
index 1d1cb7d51a5a63cf32bd1b1e4db2b02fa83c7bfe..6ebffd0b35bcae321605a2aeebb342da1abb9c07 100644 |
--- a/utils.cc |
+++ b/utils.cc |
@@ -50,7 +50,7 @@ bool WriteFile(const char* path, const char* data, int data_len) { |
DirectFileWriter writer; |
TEST_AND_RETURN_FALSE_ERRNO(0 == writer.Open(path, |
O_WRONLY | O_CREAT | O_TRUNC, |
- 0666)); |
+ 0600)); |
ScopedFileWriterCloser closer(&writer); |
TEST_AND_RETURN_FALSE_ERRNO(data_len == writer.Write(data, data_len)); |
return true; |