File permission issue
chriscameron opened this issue · comments
chriscameron commented
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!
Enrique Vidal commented
have you tried changing the umask for the user running your app?
Benoit Bénézech commented
Fixed, setting thumbnail's permission to 644 ( rw-r--r-- )
Gem 1.3.3