For example, we have access to only one file in /etc/ directory and would like to modify it.
Original library try to create a temp file inside this directory and fails because we have not enough permissions.
This PR modify original behavior to create a temp file for write in temp directory and after successfully write move in to proper location.
For example, we have access to only one file in /etc/ directory and would like to modify it. Original library try to create a temp file inside this directory and fails because we have not enough permissions.
This PR modify original behavior to create a temp file for write in temp directory and after successfully write move in to proper location.