Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
config:all_you_never_wanted_to_know_about_file_saving [2019/05/28 05:38] – gio_unsafe_save_backup vstepaniuk | config:all_you_never_wanted_to_know_about_file_saving [2025/02/22 21:46] (current) – Explicitly mention that use_atomic_file_saving loses links colombanw | ||
---|---|---|---|
Line 51: | Line 51: | ||
* Because it writes the temporary file as a new file, it will get the permissions and other metadata (eg execute) of a new file, not those of the old file. | * Because it writes the temporary file as a new file, it will get the permissions and other metadata (eg execute) of a new file, not those of the old file. | ||
+ | * Because of renaming over the old file rather than changing its content, if the old file was a symlink the link is lost and is replaced with a new file instead, leaving the link target untouched. | ||
* Does not work on all file systems since rename or rename over an existing file is not supported on all file systems. | * Does not work on all file systems since rename or rename over an existing file is not supported on all file systems. | ||
* Uses twice as much file space during the process. | * Uses twice as much file space during the process. |