[Mongrel] Uploading/file_column and Mongrel

Wilson Bilkovich wilsonb at gmail.com
Wed Aug 9 23:22:42 EDT 2006


On 8/5/06, HH <lists at lastonepicked.com> wrote:
> 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
>

There might be a cooler trick, but you could start Mongrel with a -S,
pointing at a script that sets the umask to 0000
http://www.linuxforums.org/security/file_permissions.html


More information about the Mongrel-users mailing list