File permissions of /tmp files

Glynn Clements glynn.clements at virgin.net
Wed Oct 29 06:42:06 EST 2003


Peter Simons wrote:

> it appears that ghc (and ghci) create temporary files in
> /tmp during the un-lit phase, at least. It would be nice, if
> ghc would ...
> 
>  - create those files with read/write permission for the
>    owner only, 0600.

Note that ghc honours TMPDIR (Unix) or TMP (Windows), so you can have
these files stored in a private directory.

-- 
Glynn Clements <glynn.clements at virgin.net>


More information about the Glasgow-haskell-users mailing list