Input/output error when saving files on a GVFS mounted FTP directory

Bug #493716 reported by Bruce van der Kooij on 2009-12-07
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)

Bug Description

Binary package hint: gvfs

I used ubuntu-bug gvfs-fuse (1.2.2) to report and I'm running Ubuntu 9.04 (Jaunty).

Starting since a few days ago whenever I edit a file on a mounted FTP directory I get a "Input/output error" and the result is essentially that the file is deleted (0 bytes). This happens whenever I try to edit something in ~/.gvfs directly, e.g. using Geany or even nano. The only program that manages to save correctly so far has been gedit. I asked around and it seems that's because gedit doesn't use FUSE, but GIO.

Also, so far I've only had this happen with FTP mounts, SFTP mounts on the other hand are still working like they're supposed to. I'm certainly wondering if this is FTP server specific, but I haven't yet verified if the behavior occurs with another FTP server.

Coincidently it seems that the kernel on my system was recently upgraded (to, though I am not sure if this is related.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: gvfs-fuse 1.2.2-0ubuntu2
 PATH=(custom, user)
SourcePackage: gvfs
Uname: Linux 2.6.28-17-generic i686

Bruce van der Kooij (brucevdk) wrote :
RHIFT (brad-rhift) wrote :

I am currently experiencing this exact phenomenon on two different machines running 9.04, and 9.10.

I have experienced it on 3 different, independent remote servers. It really seems like FUSE/GVFS is not handling FTP correctly at all.

Geany, Scite, and even cp will fail with "Input/output error" and the remote file will then be 0 bytes in size. This happens every time I try to save changes to an existing remote file using FTP through gvfs. I can create a new file, but any subsequent writes will result in an empty file.

This does not happen when using SSH through gvfs.

This is a pretty severe bug for me as many clients only use FTP, and I like to use Geany.

RHIFT (brad-rhift) on 2010-03-20
Changed in gvfs (Ubuntu):
status: New → Confirmed
RHIFT (brad-rhift) wrote :

Also happening on 10.04-Beta, and I think that after testing with ftp and trying to use the APPEND command that these servers do not allow APPEND because I get:

Append/Restart not permitted, try again

Could this have something to do with it? Is the gvfs-ftp backend trying to append? I found another bug that seems to parallel this one:

Changed in gvfs (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers