Problem with index file permissions

I have a problem with file permissions and Ferret. In our production
enivroment the webserver runs as one user and the console (and cron
jobs) as another one. When Ferret creates a segment or file in the index
directory it’s created with only read/write-permissions for the owner,
which means that the other user can’t access the file.

How can I affect the permission on files created by Ferret?

Thanks/David W.

Use su? or sudo? Or maybe you should create a group, add the webserver
and yourself to it.

-ryan