My rails apps is on an Ubuntu/apache/passenger.
Rails -> 3.0.3
paperclip -> last gem (updated each time i deploy with capistrano)
The user for the rails app deployment installation is named admin(did
not choose the name, he is not a root user)
Paperclip upload correctly the images but the folder it creates is using
permission that no one can read : drwxr-x— 4 admin admin
As you can see there is no right for “others” but it seems apache try to
read the file with www-admin.
The umask for admin user is 022, why does paperclip creates folders with
no permissions for others?
How can I change that?