Skip to content

Conversation

@Elias-elastisys
Copy link

Adds a check to see if the destination file in the rename function is a symlink and in that case fall back to the same copy step as when the rename fails. Since os.Rename overrides the symlink.

Fixes #2155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inplace flag overwrites symlinks with file contents when data file and /tmp are on the same partition

1 participant