[Geany-Devel] Simplifying file saving options

Jiří Techet techet at xxxxx
Wed Aug 19 13:14:53 UTC 2015


On Wed, Aug 19, 2015 at 11:52 AM, Thomas Martitz <kugel at rockbox.org> wrote:

> Hello,
>
>
>> I would suggest removing the file saving option mentioned in (3) above
>> and have just a single settings option like
>>
>> use_gio_file_operations
>>
>> Opinions?
>>
>>
>
> IIRC saving to temp file, then renaming isn't the default, because of
> concerns since both the rename and setting permissions can fail depending
> on the filesystem and permissions on the parent directly.
>

The use_gio_unsafe_file_saving=true is the default (and it should be kept
this way) and it does the renaming.


>
> IIRC#2 it's called unsafe because the above issues are even more apparent
> on remote file systems.
>

In my opinion use_atomic_file_saving=true is much worse on remote file
systems because it destroys file metadata.

Cheers,

Jiri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20150819/fd72581b/attachment.html>


More information about the Devel mailing list