** Description changed:

  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.
  
- I use Eclipse IDE (Zend Studio to be exact) for editing code on my 
development servers.
+ 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.
  
- Because we have internal development servers, I connect to them via SSH and 
use the .gvfs folder in my home directory to access the files through Eclipse.
- I.e: /home/s.rees/.gvfs/sftp for s.rees on internal.dev/var/www
+ I guess we should upload it to natty first for preliminary testing but
+ the data-loss is quite huge problem for people affected.
  
- Before upgrading to 10.10 Maverick I was fine reading and writing the
- files, but now any time it goes to save a file I get an empty file as a
- result. Making it impossible to do any work...
- 
- I don't know if this is a bug or a wacky feature (that can be
- disabled?)...
- 
- s.r...@ws-17hm42s:~$ lsb_release -rd
- Description:    Ubuntu 10.10
- Release:        10.10
- 
- s.r...@ws-17hm42s:~$ sudo apt-cache policy gvfs
- gvfs:
-   Installed: 1.6.4-0ubuntu1
-   Candidate: 1.6.4-0ubuntu1
-   Version table:
-  *** 1.6.4-0ubuntu1 0
-         500 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ maverick/main 
amd64 Packages
-         100 /var/lib/dpkg/status
+ 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.

-- 
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
Desktop Bugs, which is subscribed to gvfs in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to