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

Bug #493716 reported by Bruce van der Kooij
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Confirmed
Low
Unassigned

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 2.6.28.17.22), though I am not sure if this is related.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: gvfs-fuse 1.2.2-0ubuntu2
ProcEnviron:
 LC_TIME=nl_NL.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gvfs
Uname: Linux 2.6.28-17-generic i686

Revision history for this message
Bruce van der Kooij (brucevdk) wrote :
Revision history for this message
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)
Changed in gvfs (Ubuntu):
status: New → Confirmed
Revision history for this message
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:

https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/507236

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.