This allows you to set custom file permissions on files created by Paperclip. Set the :override_file_permissions option to the octal file permission you want - 0666 is the default. If you set :override_file_permissions to false, then we will skip the explicit chmod entirely. This makes filesystem storage a bit friendlier to filesystems that don't support unix file permissions.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
fixtures | Loading commit data... | |
io_adapters | Loading commit data... | |
matchers | Loading commit data... | |
storage | Loading commit data... | |
support | Loading commit data... | |
validators | Loading commit data... | |
attachment_options_test.rb | Loading commit data... | |
attachment_test.rb | Loading commit data... | |
content_type_detector_test.rb | Loading commit data... | |
database.yml | Loading commit data... | |
generator_test.rb | Loading commit data... | |
geometry_test.rb | Loading commit data... | |
helper.rb | Loading commit data... | |
integration_test.rb | Loading commit data... | |
interpolations_test.rb | Loading commit data... | |
meta_class_test.rb | Loading commit data... | |
paperclip_missing_attachment_styles_test.rb | Loading commit data... | |
paperclip_test.rb | Loading commit data... | |
processor_test.rb | Loading commit data... | |
schema_test.rb | Loading commit data... | |
style_test.rb | Loading commit data... | |
tempfile_factory_test.rb | Loading commit data... | |
thumbnail_test.rb | Loading commit data... | |
url_generator_test.rb | Loading commit data... | |
validators_test.rb | Loading commit data... |