aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Schröder <phoetmail@googlemail.com>2014-09-05 16:44:41 +0200
committerPeter Schröder <phoetmail@googlemail.com>2014-09-05 16:44:41 +0200
commitd69e0ad39a8e8303841838b0730e0d798af7bf7e (patch)
treec43ce499d3356c3e79be60fb4cf2765ccba20120
parent7025d7769dc53f0a3ffab8b537727ef3fee367fc (diff)
downloadrails-d69e0ad39a8e8303841838b0730e0d798af7bf7e.tar.gz
rails-d69e0ad39a8e8303841838b0730e0d798af7bf7e.tar.bz2
rails-d69e0ad39a8e8303841838b0730e0d798af7bf7e.zip
world writable might be a bit too open...
-rw-r--r--railties/lib/rails/application/bootstrap.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/application/bootstrap.rb b/railties/lib/rails/application/bootstrap.rb
index a26d41c0cf..0f4d932749 100644
--- a/railties/lib/rails/application/bootstrap.rb
+++ b/railties/lib/rails/application/bootstrap.rb
@@ -47,7 +47,8 @@ INFO
logger = ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new(STDERR))
logger.level = ActiveSupport::Logger::WARN
logger.warn(
- "Rails Error: Unable to access log file. Please ensure that #{path} exists and is chmod 0666. " +
+ "Rails Error: Unable to access log file. Please ensure that #{path} exists and is writable " +
+ "(ie, make it writable for user and group: chmod 0664 #{path}). " +
"The log level has been raised to WARN and the output directed to STDERR until the problem is fixed."
)
logger