File Security Redux.

Hopefully, this will fix the world-writable-files problem with Rails, once and for all.
master
Jacques Distler 2007-03-31 10:06:51 -05:00
parent 19889c98d4
commit 3ce0b98d99
1 changed files with 1 additions and 0 deletions

View File

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