bbenezech / papermill

Full-stack asset management for Ruby on Rails. With Paperclip, SWFUpload, jQuery, jgrow, Jcrop and Facebox.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File permission issue

chriscameron opened this issue · comments

Hi,

I'm having trouble with uploaded files having a -rw------- permission. This causes the resulting thumbnail to not be viewable after upload in the form. Is there a setting somewhere I'm missing to fix this?

Thanks!

have you tried changing the umask for the user running your app?

Fixed, setting thumbnail's permission to 644 ( rw-r--r-- )
Gem 1.3.3