[Bug 658069] Re: Empty files written over gvfs by some editors

Gary M 658069 at bugs.launchpad.net
Wed Nov 3 12:36:13 GMT 2010


** Bug watch added: Red Hat Bugzilla #605308
   https://bugzilla.redhat.com/show_bug.cgi?id=605308

** Also affects: gvfs (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=605308
   Importance: Unknown
       Status: Unknown

** Tags added: maverick

-- 
Empty files written over gvfs by some editors
https://bugs.launchpad.net/bugs/658069
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in GVFS: In Progress
Status in “gvfs” package in Ubuntu: Fix Released
Status in “gvfs” source package in Maverick: Fix Released
Status in “gvfs” package in Fedora: Unknown

Bug description:
Non-GIO programs truncate files when saving.

A bug in either FUSE or gvfs-fuse glue code has been discovered which causes some applications to truncate files to 0 bytes on save.

REGRESSION POTENTIAL: There is currently no patch for fuse, the upstream gvfs developer has proposed a patch that deals with truncate at the gvfs side. The patch has only been applied to Fedora 15, it hasn't yet been backported to neither Fedora 13 nor Fedora 14 so it hasn't been tested other than for it fixing the reported issue.

I guess we should upload it to natty first for preliminary testing but the data-loss is quite huge problem for people affected.

TEST CASE: A write-access to any gvfs powered remote share is required, the following options assume you have mounted it through the Places->Connect to Server... dialog (or using an existing bookmark).
Create a file with some content, for example by doing:
$ echo "test" > test.file
then edit the file using nano, add some more text and save (^X, Y, [ENTER]), after that the file is empty.
Same actions with proposed update should result in a file that has entered text.





More information about the Ubuntu-sponsors mailing list