From 62f0512e54d594c4bb6fcb8d16101fdeb87b89e8 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 15 Jan 2005 17:28:01 +0000 Subject: Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/shared.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/environments/shared.rb') diff --git a/railties/environments/shared.rb b/railties/environments/shared.rb index c4d52d4b26..8e36ae6670 100644 --- a/railties/environments/shared.rb +++ b/railties/environments/shared.rb @@ -47,7 +47,7 @@ rescue StandardError RAILS_DEFAULT_LOGGER = Logger.new(STDERR) RAILS_DEFAULT_LOGGER.level = Logger::WARN RAILS_DEFAULT_LOGGER.warn( - "Rails Error: Unable to access log file. Please ensure that log/#{RAILS_ENV}.log exists and is chmod 0777. " + + "Rails Error: Unable to access log file. Please ensure that log/#{RAILS_ENV}.log exists and is chmod 0666. " + "The log level has been raised to WARN and the output directed to STDERR until the problem is fixed." ) end -- cgit v1.2.3