Add openFileTemplate, openBinaryFileTemplate to System.IO
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).
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |