← Back to team overview

desktop-packages team mailing list archive

[Bug 517028] Re: gvfsd-smb: file content messed when using low-level write utilities (echo)

 

** Changed in: gvfs
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/517028

Title:
  gvfsd-smb: file content messed when using low-level write utilities
  (echo)

Status in GVFS:
  Fix Released
Status in “gvfs” package in Ubuntu:
  Triaged

Bug description:
  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-SMB share (via smb://someserver/someshare)
  2. Open terminal and cd to this share
  3. Run commands:
  user@host:~/.gvfs/someshare on someserver$ echo 100 > ./test
  user@host:~/.gvfs/someshare on someserver$ echo 200 >> ./test
  user@host:~/.gvfs/someshare on someserver$ echo 300 >> ./test
  user@host:~/.gvfs/someshare on someserver$ echo 400 > ./test
  Expected result:
  file ./test containing 1 line with "400"
  Real result:
  user@host:~/.gvfs/someshare on someserver$ cat ./test
  400
  200
  300

  Additional information:
  Similar behaviour is when using a text editor writing with fopen (e.g. Geany:
  http://www.geany.org). 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=608908)
  This behaviour is not reproducible with Ubuntu Jaunty (GNOME 2.26, gvfs 1.2.2), all is OK there

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/517028/+subscriptions