As of 18.04 and still as at 19.10, this is all over the place. Errors left, right and centre.
nautilus gives "Software caused connection abort" copying a file (but pressing F5 to refresh shows that the copy seemingly worked). gedit fails intermittently with the same error (possibly only on larger files, 32KB? not that 32KB is large). cp gives the error as reported initially above. I was copying using cp from one gio mount (smb) to another (sftp). Even gio copy was not a workaround. The only viable workaround that I found was to gio copy from the smb location to ~ and then copy from ~ to the sftp location. I was lucky that the file was not very big. (LibreOffice has its own problems with this setup.) Virtualisation of file systems is good functionality and I use it a lot but from 18.04 until now, taking the system as a whole, it has been badly broken. -- 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/1773114 Title: Cannot copy file using 'cp' on a gvfs mount Status in gvfs package in Ubuntu: Confirmed Bug description: On Ubuntu 18.04, I can't anymore copy a file using the 'cp' command on a gvfs smb mount. For example, If I try to copy the file test.odp on a SMB shared folder, like this: cp -v test.odp /run/user/1000/gvfs/smb- share:domain=XXXXX,server=xxxxx,share=xxx,user=xxxxx/<some folder> I get the following error: cp: cannot fstat '/run/user/1000/gvfs/smb- share:domain=XXXXX,server=xxxxx,share=xxx,user=xxxxx/<some folder>/test.odp': Invalid argument A file 'test.odp' is created, but with size 0. I can delete any file on the shared folder using the 'rm' command. If I copy the file using the command 'gio copy', then it works as expected. This used to work in Ubuntu 16.04. Of course, I don't know if the problem is in the gvfs package or in some underlying component... System: Ubuntu 18.04 LTS (Bionic Beaver) 64-bit Kernel: 4.15.0-22-generic x86_64 Package: gvfs 1.36.1-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1773114/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp