diff --git a/src/platform_linux.cc b/src/platform_linux.cc index bb29c707..d9969e45 100644 --- a/src/platform_linux.cc +++ b/src/platform_linux.cc @@ -149,7 +149,7 @@ std::string NormalizePath(const std::string& path) { bool TryMakeDirectory(const std::string& absolute_path) { std::cerr << "!! TryMakeDirectory " << absolute_path << std::endl; - const mode_t kMode = 0660; // UNIX style permissions, user and group read/write; other cannot access + const mode_t kMode = 0777; // UNIX style permissions if (mkdir(absolute_path.c_str(), kMode) == -1) { // Success if the directory exists. return errno == EEXIST;