diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-15 17:28:01 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-15 17:28:01 +0000 |
commit | 62f0512e54d594c4bb6fcb8d16101fdeb87b89e8 (patch) | |
tree | d0c2a4493f4c40cb646df0cdf14491902a782db7 /railties/environments | |
parent | f3965af649efa7e975351b2b652911674af31ee6 (diff) | |
download | rails-62f0512e54d594c4bb6fcb8d16101fdeb87b89e8.tar.gz rails-62f0512e54d594c4bb6fcb8d16101fdeb87b89e8.tar.bz2 rails-62f0512e54d594c4bb6fcb8d16101fdeb87b89e8.zip |
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
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/shared.rb | 2 | ||||
-rw-r--r-- | railties/environments/shared_for_gem.rb | 2 |
2 files changed, 2 insertions, 2 deletions
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 diff --git a/railties/environments/shared_for_gem.rb b/railties/environments/shared_for_gem.rb index 82a5d3295c..a277641a99 100644 --- a/railties/environments/shared_for_gem.rb +++ b/railties/environments/shared_for_gem.rb @@ -44,7 +44,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 |