This looks like it is probably a race condition.

If you do something like this:

open()
write()
fsync()
fstat()
close()

They all return before the write even finishes. This is most obvious
when writing over slow connections. And they do not return any errors as
well... This will cause programs checking the status of their writes via
eg fstat() to think their writes failed since the fstat() is done even
before the file is finished uploading and you will see no file or a
partially uploaded file instead.

** Summary changed:

- gvfs ftp backend violates rfc959 - Cannot save file to FTP server (from Save 
dialog)
+ gvfs ftp backend does not wait on uploads - Cannot save file to FTP server 
(from Save dialog)

** Summary changed:

- gvfs ftp backend does not wait on uploads - Cannot save file to FTP server 
(from Save dialog)
+ gvfs fuse does not wait on uploads - Cannot save file to FTP server (from 
Save dialog)

-- 
gvfs fuse does not wait on uploads - Cannot save file to FTP server (from Save 
dialog)
https://bugs.launchpad.net/bugs/174212
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to