[Mongrel] Uploading/file_column and Mongrel

Zed Shaw zedshaw at zedshaw.com
Mon Aug 7 14:05:25 EDT 2006

On Mon, 2006-08-07 at 09:53 -0700, HH wrote:
> ** I am re-sending as I didn't get any responses and I'm hoping someone has
> the answer to this. **
> Howdy,
> I recently switched an app to Mongrel and since the switch, when I upload
> files using the file_column plug-in, the files are not uploaded with the
> correct permissions.
> I want something like this:
> -rw-rw-rw- file.jpg
> But I am getting:
> -rw------- file.jpg
> So, of course the files aren't being served up by the Web server.
> Mongrel is running as the 'mongrel' user that I created when I set the
> system up.
> Any suggestions? I am on Red Hat Enterprise Linux 3.

I've been a bit busy, but verify that the user you run Mongrel as has
the proper umode.


More information about the Mongrel-users mailing list