Empty files written over gvfs by some editors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs |
Fix Released
|
High
|
|||
gvfs (Fedora) |
Won't Fix
|
Medium
|
|||
gvfs (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
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.
summary: |
- Eclipse writes empty files over gvfs + Empty files written over gvfs by some editors |
Changed in gvfs (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
Changed in gvfs: | |
importance: | Unknown → High |
status: | Unknown → In Progress |
tags: | added: regression-release |
tags: |
added: verification-done removed: verification-needed |
tags: | added: maverick |
Changed in gvfs: | |
status: | In Progress → Fix Released |
tags: | added: testcase |
Changed in gvfs (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
This is happening with other editors as well. VI is immune going over SSH. Suspecting a bug in GVFS