← Back to team overview

desktop-packages team mailing list archive

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

 

** Tags added: testcase

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/658069

Title:
  Empty files written over gvfs by some editors

Status in GVFS:
  Fix Released
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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/658069/+subscriptions