[imp] wv stores world writable files in /tmp

Chuck Hagenbuch chuck@horde.org
Thu, 02 Nov 2000 19:37:11 -0500 (EST)


Quoting Thomas Gebhardt <gebhardt@HRZ.Uni-Marburg.DE>:

> In file /usr/share/horde/imp/lib/mimetypes.lib are defined the different 
> operations for working with mime-encoded mail-parts. The files
> that are generated by these operations in /tmp are generated with 
> these strange permissions (and mostly removed after operating).
> It seems as if the umask-setting as defined in defaults.php3 as:
> $default->umask                     = '077';
> is ignored by these operations.

Can you set a umask in your webserver startup script, maybe?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Many states consider gambling so immoral that they not only prohibit private
gambling organizations, they thoughtfully provide their own.