go-getter currently truncates and writes over all existing files. This causes some problems with running binaries, you can get ETXTBSY when writing to them, and can cause issues with mmapped files as well.
This is sometimes causing problems for terraform for example, where it fails to install providers due to text file busy.
Change to remove existing files before creating them. This is the same behaviour as tar has unless given the --overwrite option.
Another alternative could be to write to a temporary file and rename over the old file when complete.
go-getter currently truncates and writes over all existing files. This causes some problems with running binaries, you can get ETXTBSY when writing to them, and can cause issues with mmapped files as well.
This is sometimes causing problems for terraform for example, where it fails to install providers due to text file busy.
Change to remove existing files before creating them. This is the same behaviour as tar has unless given the --overwrite option.
Another alternative could be to write to a temporary file and rename over the old file when complete.