diff options
-rw-r--r-- | base/shared_memory_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/shared_memory_posix.cc b/base/shared_memory_posix.cc index bc7723d..6716159 100644 --- a/base/shared_memory_posix.cc +++ b/base/shared_memory_posix.cc @@ -156,7 +156,7 @@ bool SharedMemory::CreateNamed(const std::string& name, PLOG(ERROR) << "Unable to access(W_OK|X_OK) " << dir.value(); if (dir.value() == "/dev/shm") { LOG(FATAL) << "This is frequently caused by incorrect permissions on " - << "/dev/shm. Try 'sudo chmod 777 /dev/shm' to fix."; + << "/dev/shm. Try 'sudo chmod 1777 /dev/shm' to fix."; } } #else |