gvfsfusedaemon.c: File handle not released in vfs_open() and recreated in vfs_truncate()
Submitted by potter000
Assigned to gvf..@..e.bugs
Link to original bug (#614696)
Description
This can cause access conflicts (i.e. opening the same file twice) and unexpected behaviour, like https://bugzilla.gnome.org/show_bug.cgi?id=608908
The possible solution is to use algorithm from vfs_ftruncate() in vfs_truncate() with some minor changes. Please see the patch in attachment.
Version: 1.6.x