A further test shows that with gio_unsafe_save_backup ON in addition to gio_unsafe_file_saving, saving on an archivemounted file system does work. With this flag on, the on-disk copy of the file-to-be-saved is moved out of the way by renaming it with a '~' appended to it's name first. Surprisingly enough modifiying and saving the file again, it's backup copy is replaced correctly as well, with the previous modified file version. So the backup file is first removed, then the original file is renamed, and then the changed file is renamed from it's temporary name to it's original name.
Of course you get backup files with a '~' appended to their name all over the place. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1774#issuecomment-366920004
