atomic-write icon indicating copy to clipboard operation
atomic-write copied to clipboard

atomic-write writes over read only files

Open expipiplus1 opened this issue 8 years ago • 1 comments

This is a little odd, although understandable given the implementation.

expipiplus1 avatar Feb 14 '17 09:02 expipiplus1

@jsl It appears as though this comes from the use of renameFile in closeAndRename, which seems like a fairly deliberate use. Do we want to make this API change by checking if a file is read-only, or do we want to keep overwriting all files?

nlander avatar Jun 07 '17 18:06 nlander