File Security Redux.
Hopefully, this will fix the world-writable-files problem with Rails, once and for all.
This commit is contained in:
parent
19889c98d4
commit
3ce0b98d99
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue