rails/rails — pull request #17230 by robertoz-01 (2014-10-10 12:26:16+00:00)
Title: atomic_write rescue also Errno::EACCES

atomic_write rescue also Errno::EACCES on changing file permission. It could be raised with some type of filesystem