On 8/5/06, HH <[EMAIL PROTECTED]> 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
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to