Eclipse alter files on save over GVFS mounted shares (ssh and cifs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eclipse |
Confirmed
|
Undecided
|
Unassigned | ||
gvfs |
Confirmed
|
Undecided
|
Unassigned | ||
eclipse (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eclipse
I have upgraded my 10.04 system to 10.10. And since then, that critical bug occurs.
I have two different projects in eclipse: one on a dev server witch I access through a samba share (a wordpress project), the other one on an other server with I access through sftp (both mounted in nautilus using gvfs)
On the first project, when I edit and then save a file, most of the time some chars are added to the end of the file, example:
/*
Theme Name: child
Theme URI: http: //child.com
Description: Child theme for the Twenty Ten theme
Author: Gecka
Author URI: http: //site.com/
Template: twentyten
Version: 0.1.0
*/
Becomes, after saving the file:
/*
Theme Name: child
Theme URI: http: //child.com
Description: Child theme for the Twenty Ten theme
Author: Gecka
Author URI: http: //site.com/
Template: twentyten
Version: 0.1.0
*/
: 0.1.0
*/
This occurs for PHP and Css files.
Concerning the second project (accessed using sftp) Any file I save in eclipse is saved as an empty file! I already lost some hours of coding because of that.
I haven't tested on the local file system because I do not have any project on my computer but on my development servers.
I also tested, Ubuntu's packaged eclipse version and the new Helios release (downloaded from eclipse.com). Both have the issue in Marverick but not in Lucid.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: eclipse 3.5.2-6ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Wed Oct 6 11:38:53 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=fr_FR.utf8
SHELL=/bin/bash
SourcePackage: eclipse
xulrunner-versions: /usr/lib/
Changed in eclipse (Ubuntu): | |
status: | New → Confirmed |
Changed in eclipse-eclipsers: | |
status: | New → Confirmed |
I have the same issue while editing files with SFTP over Nautilus and all my EDI (Geany, Gedit and also Eclipse). When i save the file weight is 0ko and of course empty. That make me lost a lot of time to restore backup over VIM in a shell.
I tested it with a fresh Ubuntu 10.10 stable release no extra package with all my webserver with correct chmod/chown even in chmod 0777.
Nicolas BONNICI