integration_test.rb
21.6 KB
-
[filesystem storage] Create :override_file_permissions option · 331ae182
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.
Mathieu Lemoine committed