Closed AlCutter closed 2 months ago
This PR fixes an issue where files created using createExclusive have 0o600 perms.
createExclusive
0o600
This was caused by the use of os.CreateTemp, so we now just create a temporary file manually and Rename it into the target location.
os.CreateTemp
Rename
This PR fixes an issue where files created using
createExclusive
have0o600
perms.This was caused by the use of
os.CreateTemp
, so we now just create a temporary file manually andRename
it into the target location.22