#3393: Add openFileTemplate, openBinaryFileTemplate to System.IO
-------------------------------+--------------------------------------------
Reporter: igloo | Owner:
Type: proposal | Status: new
Priority: normal | Milestone: Not GHC
Component: libraries/base | Version: 6.10.4
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-------------------------------+--------------------------------------------
In `System.IO`, `openTempFile` and `openBinaryTempFile` mask the file
permissions of the file they create with 0o600. However, we would like to
use it for implementing things like `writeFileAtomic`, in which case we
want the default file permissions to be used.
I propose that we add `openFileTemplate` and `openBinaryFileTemplate`
functions, which use the default permissions.
Deadline: 8th August (2 weeks).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3393>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs