Public bug reported:

Binary package hint: gvfs

Configuration:
Ubuntu 9.10 Karmic
GNOME 2.28.0
gvfs 1.4.2 (tried building 1.5.1 - same result)

Steps to reproduce behaviour:
1. Mount a GVFS-SFTP share (via sftp://someserver)
2. Open terminal and cd to this share
3. Run commands:
u...@host:~/.gvfs/sftp on someserver$ echo 100 > ./test
u...@host:~/.gvfs/sftp on someserver$ echo 200 >> ./test
4. Expected result:
"200" appended to file contents
5. Real result - an error:
bash: echo: write error: Operation not supported

Additional information:
When using a text editor writing with fopen (e.g. Geany:
http://www.geany.org), all file contents is lost after saving the file. When 
using gedit (which seems to write via
g_file_set_contents), all is OK.
I have already filed a bug to the GNOME team 
(https://bugzilla.gnome.org/show_bug.cgi?id=608910) and a similar bug about 
gvfsd-smb (https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/517028).
This behaviour is not reproducible with Ubuntu Jaunty (GNOME 2.26, gvfs 1.2.2), 
all is OK there.

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: gnome gvfs karmic sftp

-- 
 gvfsd-sftp: unable to append to file when using low-level writing (echo)
https://bugs.launchpad.net/bugs/517033
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to