aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-05 14:31:20 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-05 14:31:20 -0300
commit9576605dfdb4b65210e26036d04a6984f1fcf3a8 (patch)
treec43ce499d3356c3e79be60fb4cf2765ccba20120
parent7025d7769dc53f0a3ffab8b537727ef3fee367fc (diff)
parentd69e0ad39a8e8303841838b0730e0d798af7bf7e (diff)
downloadrails-9576605dfdb4b65210e26036d04a6984f1fcf3a8.tar.gz
rails-9576605dfdb4b65210e26036d04a6984f1fcf3a8.tar.bz2
rails-9576605dfdb4b65210e26036d04a6984f1fcf3a8.zip
Merge pull request #16818 from phoet/patch-4
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