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

make safeSave handle symlink #1024

Open
wengxt opened this issue Apr 23, 2024 · 0 comments
Open

make safeSave handle symlink #1024

wengxt opened this issue Apr 23, 2024 · 0 comments

Comments

@wengxt
Copy link
Member

wengxt commented Apr 23, 2024

Right now, safeSave write temp file rename is used to ensure atomic file write.

However, this breaks if the destination file is a symlink. We could follow the symlink first, then rename on the destination final file.

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

No branches or pull requests

1 participant