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

Launchpad Bug Tracker 658069 at bugs.launchpad.net
Fri Oct 22 09:45:50 BST 2010


You have been subscribed to a public bug by Krzysztof Klimonda (kklimonda):

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.

** Affects: gvfs
     Importance: High
         Status: In Progress

** Affects: gvfs (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: gvfs (Ubuntu Maverick)
     Importance: Undecided
         Status: New

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



More information about the Ubuntu-sponsors mailing list