bash-cache
bash-cache copied to clipboard
ln -sfn is not atomic
According to this post ln -sfn
isn't actually atomic, despite the comment here. Need to confirm this is actually broken and then fix, presumably to the rename
approach described in the post.
bkt
uses the rename pattern, for reference.
A recent comment on the same answer claims that the ln
in modern coreutils does the atomic rename approach now.