Skip to content

File permissions get lost when using write_file with atomic=True #94

@cmile

Description

@cmile

Python version
3.9

Package version
0.12.0

Current behavior (bug description)
When writing files using write_file with atomic=True, the file permissions of the original file get lost and are always set to 600.

Expected behavior
The file permissions of the file that is written to should be kept as is, no matter if you use atomic write or not.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions