File Security Redux.

Hopefully, this will fix the world-writable-files problem with Rails, once and for all.
This commit is contained in:
Jacques Distler 2007-03-31 10:06:51 -05:00
parent 19889c98d4
commit 3ce0b98d99

View file

@ -21,6 +21,7 @@ Rails::Initializer.run do |config|
config.active_record.schema_format = :ruby config.active_record.schema_format = :ruby
config.load_paths << "#{RAILS_ROOT}/vendor/plugins/sqlite3-ruby" config.load_paths << "#{RAILS_ROOT}/vendor/plugins/sqlite3-ruby"
File.umask(0026)
end end
# Instiki-specific configuration below # Instiki-specific configuration below