diff options
author | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 22:36:36 +0000 |
---|---|---|
committer | markus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 22:36:36 +0000 |
commit | afc898bd957ebdf2dbe3e682aaecc168eea78b9e (patch) | |
tree | 6f5376ebbf49169b49989dad5b20bf1352ec0cf8 /base | |
parent | 4e758b649512b9e6ab5c6c67f38572894062139d (diff) | |
download | chromium_src-afc898bd957ebdf2dbe3e682aaecc168eea78b9e.zip chromium_src-afc898bd957ebdf2dbe3e682aaecc168eea78b9e.tar.gz chromium_src-afc898bd957ebdf2dbe3e682aaecc168eea78b9e.tar.bz2 |
While there are all sorts of reasons for "/dev/shm" to be inaccessible,
and "chmod" might or might not actually fix the problem, we should never
give advice that actually introduces more problems. Changing permissions
to 777 is bad, as it drops the sticky bit. Instead, the instructions should
say 1777.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4245001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-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 |