Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple clean fix for github issue gridcf#3 #5

Merged
merged 1 commit into from
Jun 22, 2020

Conversation

msalle
Copy link
Member

@msalle msalle commented Jun 22, 2020

Never delete the destination file when writing has failed. That is the safest
and easiest solution and matches the behaviour of other tools such as
globus-url-copy.

Never delete the destination file when writing has failed. That is the safest
and easiest solution and matches the behaviour of other tools such as
globus-url-copy.
@msalle
Copy link
Member Author

msalle commented Jun 22, 2020

This PR replaces the more elaborate but less safe solution #4.

Copy link
Member

@fscheiner fscheiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@fscheiner fscheiner merged commit d772c76 into gridcf:master Jun 22, 2020
@msalle msalle deleted the no_delete_file_clean branch June 23, 2020 10:19
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.

GGUS129103: UberFTP (a UMD dependency) may destroy data after a failed overwrite attempt
2 participants