The rails 3.0 application is located on the ubuntu server using apache / passenger. The user to deploy the application is admin, it is also the user who starts the application (did not select a name, the administrator does not have root privileges). Today I updated the paper clip.
The paperclip plugin is used to download images. It loads images correctly, but the created folder uses a permission that no one can read: drwxr-x --- 4 admin admin
As you can see, there is no right for "others", but it seems that apache is trying to read the file using www-admin.
umask for user admin 022, why does the clip create folders without any permissions for others?
How can i change this?
EDIT: I checked that all passenger and rail processes belong to the administrator.
source
share